![]() Who needs to set Access-Control-Allow-Origin? This tells the browser what origins are allowed to receive requests from this server. There are a few headers that allow sharing of resources across origins, but the main one is Access-Control-Allow-Origin. With the help of CORS, browsers allow origins to share resources amongst each other. Here is an example from Mozilla Developer Network that explains this really well:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |