Guest User

Untitled

a guest
Apr 3rd, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. $ 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
  2. > OPTIONS /v1/user/endpoint HTTP/1.1
  3. > User-Agent: curl/7.32.0
  4. > Accept: */*
  5. > Origin: http://127.0.0.1:9000
  6. > Access-Control-Request-Method: POST
  7. > Access-Control-Request-Headers: authorization,content-type
  8. >
  9. < HTTP/1.1 200 OK
  10. < Connection: keep-alive
  11. < Access-Control-Allow-Origin: http://127.0.0.1:9000
  12. < Access-Control-Allow-Headers: authorization,content-type
  13. < Access-Control-Allow-Credentials: true
  14. < Content-Length: 0
  15. < Access-Control-Allow-Methods: POST
  16. < Date: Thu, 03 Apr 2014 14:00:49 GMT
Advertisement
Add Comment
Please, Sign In to add comment