CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
-
Access to XMLHttpRequest at 'http://lookalikes.co.uk/wp-content/uploads/2017/04/Jack-Sparrow-15.jpg' from origin 'http://xyz.abc.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I am getting this error, please see to it.
While uploading new picture from uRL, already Access-Control-Allow-Origin is set to * Under Settings->Advanced
-
You have to adjust the header for the domain the asset is loaded from. In this case, that would mean the wordpress site.
-
take a look:
Read-API access via Javascript / jQuery
Hey Guys! I'm trying to experiment with the NodeBB API. And I want to receive the data via jQuery. var rest_url = "https://my.nodebb.net/api/topic/10/my-tit...
NodeBB Community (community.nodebb.org)
Copyright © 2024 NodeBB | Contributors