Posts

Showing posts from March, 2020

How to enable CORS on Axway API & use postman to verify if the CORS is enabled

Image
After a long break from the blog posting, I have decided to start posting again. In this post we will demo how to enable CORS in Axway API Gateway and use Postman to verify whether the Cross-Origin Resource Sharing (CORS) are enabled on the API or not. You need to enable the CORS setting on the API, if you are planning to call the API from javascript which is running in browser. For more details on CORS, please check below links https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS To enable CORS on Axway API By Default, CORS are enabled for all domains for the frontend API in Axway. You can verify the setting on Frontend API -> Inbound -> Advance tab Enable CORS from all domains  If you want to restrict or configure specific CORS setting, you can create the CORS profile on frontend API. Click on CORS profile, Add a new CORS profile, with ORIGIN URL or ALLOWED HEADER's You will need to select the configured profile, please re