mdm icon indicating copy to clipboard operation
mdm copied to clipboard

API CORS JavaScript

Open DanijelBumbar opened this issue 8 years ago • 0 comments

Please implement the possibility to enter external files to the server micromdm server.

I am calling .../v1/commands from JavaScript and if I run it from localhost I get error like "Failed to load https://mdm01.kidgonet.de/v1/commands: 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' is therefore not allowed access. The response had HTTP status code 404."

Please help.

DanijelBumbar avatar Oct 26 '17 21:10 DanijelBumbar