Cross origin API calls to Decisions?
Comments
-
I am attempting to call Decisions from browser side javascript and I am getting a cross origin error (see below). Is there any configuration allowed on the server to allow either cross origin or JSONP REST API calls, or do I need to build a proxy through my server?
XMLHttpRequest cannot load URL. Response to preflight request doesnt pass access control check: No Access-Control-Allow-Origin header is present on the requested resource. Origin [url=http://localhost:3000/]http://localhost:3000[/url] is therefore not allowed access. The response had HTTP status code 500.
Thank you
-
Its a browser client side script issue not a server side configuration.
Youll need to set that header mentioned in the error or run the call based on a users action.
If you continue to have trouble let us know and we will take another look at this with you.
Thanks
Howdy, Stranger!
Categories
- 4.4K All Categories
- 80 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions