CORS Error
Comments
-
[font=Roboto, Arial, Helvetica, sans-serif]Hi! Im making a REST API call to Decisions flow but it is giving me a CORS error. I tried the Desktop version of Postman to test the API and it worked but while making the request from the web application, it is giving me this CORS error.[/font]
[font=Roboto, Arial, Helvetica, sans-serif]
[/font] -
If you are using Postmans browser agent on the same machine as your Decisions instance or from another machine on the same network, you will need a proxy to call Decisions. Below are two different proxy services that have been used by our customers in the past for similar use cases:
[ul][li][url=https://github.com/Rob--W/cors-anywhere/]CORS-anywhere[/url][/li][li][url=https://github.com/jawa-the-hutt/Decisions-CORS-Proxy]Decisions-CORS-Proxy[/url][/li][/ul]