MangoServer icon indicating copy to clipboard operation
MangoServer copied to clipboard

Enable CORS headers are not working

Open arunk opened this issue 7 years ago • 0 comments

Try connecting to the local server with curl

$ curl -i http://localhost:8080/annotations/

The Access-Control-Allow-Origin headers do not show up.

$ curl -i -X OPTIONS http://localhost:8080/annotations/

Access-Control-Allow-Origin headers do show up. Only seems to show up for OPTIONS and not any of the other methods - GET, POST etc.

arunk avatar May 07 '17 14:05 arunk