Hi,
These are not API Calls. I am getting these errors for images. Product images are not loading and I get this error in console(inspect) . When I clear cache and reload the page it loads and some other image or JS or CSS script will not load with similar error. I think we need to add this line somewhere in htaccess or in code and I am not sure where.