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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions