December 2019
Intermediate to advanced
510 pages
11h 33m
English
Another critical aspect of security is to protect our APIs from CORS calls. By default, it is not possible to use client-side code to call services that are hosted on other domains, because scam websites may use a cross-origin call to get sensitive information about users. This security restriction is called the same-origin policy.
The restrictions on the same-origin policy act on HTTP calls using the following criteria: