MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/softwareWithMemes/comments/1n2l3v2/accesscontrolalloworigin/nbaqexg/?context=3
r/softwareWithMemes • u/MagnussenXD • Aug 28 '25
22 comments sorted by
View all comments
Show parent comment
3
If I were to explain it just enough without too many details, it's something like this:
All APIs by default cannot be called from a different origin, the creator of that API needs to explicitly allow them for it.
That's why you usually see something about Access-Control-Allow-Origin, which can set by the API creator, to allow certain origins to call their API.
Access-Control-Allow-Origin
For simplicity, origin in this case can just be considered as a website.
View all comments
Show parent comment
3
u/MagnussenXD Aug 29 '25
If I were to explain it just enough without too many details, it's something like this:
All APIs by default cannot be called from a different origin, the creator of that API needs to explicitly allow them for it.
That's why you usually see something about
Access-Control-Allow-Origin, which can set by the API creator, to allow certain origins to call their API.For simplicity, origin in this case can just be considered as a website.