Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4602

Rest API Access-Control-Allow-Origin Error

$
0
0
I'm trying to use the Rest API client side but I have the Access-Control-Allow-Origin problem (Access to XMLHttpRequest at 'http://xxxxx/ocsapi/v1/computer/4/' from origin 'http://localhost:80085' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.)

Is there some setting i should change? I would like to set something like
"Access-Control-Allow-Origin: *"

Thank you

Viewing all articles
Browse latest Browse all 4602

Trending Articles



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