Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82406

No 'Access-Control-Allow-Origin' header is present on the requested resource.

$
0
0

Hi Everyone,

I have a non mendix app trying to access an exposed rest service via javascript. The error that is being returned is "No 'Access-Control-Allow-Origin' header is present on the requested resource.". Has anyone run into this?

 

I know the problem has to do with the browser not receiving the correct headers from the option request before it tries to call the rest service. I just don't know how to get around this in Mendix. I read one post that said to include the proper headers in the response of your rest service, but that didn't work for me. Anyone have any ideas?


Viewing all articles
Browse latest Browse all 82406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>