CORS issue when using mule to serve micro services to frontend
When Angular call Restful API by Mule,
1 | ( cross domain HTTP request ) |
Related document
http://blogs.mulesoft.com/dev/anypoint-platform-dev/cross-domain-rest-calls-using-cors/
resolution
add response header
name: Access-Control-Allow-Origin
value: Put in the allowed client’s http(s)😕/hostname:port