Mid
From PDF
Microservices
Microservices
Preflight Requests: For complex requests (like POST with non-standard headers),?
browsers send a preflight OPTIONS request. Your API should respond to this
appropriately.
Follow :
Example: If your frontend is hosted at
and your microservices
are hosted at
your microservice’s response headers would look like
this:
Access-Control-Allow-Origin:
Access-Control-Allow-Methods: GET, POST
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png