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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions