![]() Internet browsers follow the same-origin policy and restrict cross-origin HTTP requests initiated from scripts. ![]() Two URLs would be considered to be having different origins when they have different protocols, ports (if specified), or hosts.įor example, making a request from to is considered cross-origin as they have different hostnames. It is a mechanism for relaxing the same-origin policy of modern internet browsers. The name explains itself, Cross-Origin Resource Sharing (CORS)is an HTTP mechanism that allows resource sharing from one origin to another origin securely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |