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
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8