Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have implement different REST interfaces. One interface for receiving data from a database. For that I use following schema:
Under tRestResponse I set Access-Control-Allow-Origin = *. That works fine.
One interface I use for post data into in db. I use following schema:
Also under tRESTResponse I set Access-Control-Allow-Origin = *. But that not works. Under angularJS I also activate $http.defaults.headers.common = '*'; But in chrome/firefox I receive that error: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000' is therefore not allowed access.
Greets Benjamin