July 2017
Intermediate to advanced
414 pages
11h 18m
English
With microservices, there is no guarantee that the services will run from the same host or the same domain. Composite UI web applications may call multiple microservices for accomplishing a task, and these could come from different domains and hosts.
CORS allows browser clients to send requests to services hosted on different domains. This is essential in microservices-based architecture.
One approach is to enable all microservices to allow cross-origin requests from other trusted domains. The second approach is to use an API gateway as a single trusted domain for the clients.
Read now
Unlock full access