Submitted by Dibyajit.Roy on Fri, 01/14/2022 - 20:05
Hello
I am trying to build a Angular + Bonita Application.
When I try to POST from Angular App, I get the Access to XMLHttpRequest at 'http://localhost:8080/bonita/loginservice' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
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 ?
Ive been trying to consume the Bonita rest API from another domain, I followed the documentation to enable CORS in Bonita Server and used the example that appear here: