Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Rest API Access-Control-Allow-Origin Error

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
in OCS Inventory NG server for Unix by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...