Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ curl 'http://hostname:8080/v1/user/endpoint' -X OPTIONS -H 'Origin: http://127.0.0.1:9000' -H 'Access-Control-Request-Method: POST' -H 'Access-Control-Request-Headers: authorization,content-type' -v
- > OPTIONS /v1/user/endpoint HTTP/1.1
- > User-Agent: curl/7.32.0
- > Accept: */*
- > Origin: http://127.0.0.1:9000
- > Access-Control-Request-Method: POST
- > Access-Control-Request-Headers: authorization,content-type
- >
- < HTTP/1.1 200 OK
- < Connection: keep-alive
- < Access-Control-Allow-Origin: http://127.0.0.1:9000
- < Access-Control-Allow-Headers: authorization,content-type
- < Access-Control-Allow-Credentials: true
- < Content-Length: 0
- < Access-Control-Allow-Methods: POST
- < Date: Thu, 03 Apr 2014 14:00:49 GMT
Advertisement
Add Comment
Please, Sign In to add comment