CORS PROBLEM

1
0
-1

Access to XMLHttpRequest at 'http://localhost:50129/bonita/API/bpm/humanTask/40098/execution' from origin has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

Im trying to execute a task using Form External URL using another HTML5 framework , but that's what I get when I send the POST Request , what is the problem ?

1 answer

1
0
-1
This one is the BEST answer!

hello,

first did you enable cors on your server?

this documentation page can help:

https://documentation.bonitasoft.com/bonita/7.10/enable-cors-in-tomcat-bundle

if you already done this, could you show us your configuration, and the code that make the call?

Notifications