3 ms·
This is called Cross Origin Resource Sharing, and only works if the API is serving the appropriate headers. Unfortunately, very few public APIs have adopted COR
by illicium 15y ago
This is called Cross Origin Resource Sharing, and only works if the API is serving the appropriate headers. Unfortunately, very few public APIs have adopted CORS, so until then we're stuck with JSONP.
- ioquatix 15y agoThanks for the clarification. Because I control both sites it wasn't a problem, as described in the article. Yeah, it was a bit of an experiment because I wanted to see how it would work out.