Guest User

Untitled

a guest
Apr 3rd, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $ curl 'http://hostname:8080/v1/user/endpoint' -X POST -H 'Authorization: Bearer ...' -H 'Content-Type: application/json;charset=utf-8' -H 'Origin: http://127.0.0.1:9000' -d '{"test":"sample"}' -v
  2. > POST /v1/user/endpoint HTTP/1.1
  3. > User-Agent: curl/7.32.0
  4. > Accept: */*
  5. > Authorization: Bearer ...
  6. > Content-Type: application/json;charset=utf-8
  7. > Origin: http://127.0.0.1:9000
  8. > Content-Length: 100
  9. >
  10. * upload completely sent off: 100 out of 100 bytes
  11. < HTTP/1.1 200 OK
  12. < Connection: keep-alive
  13. < Transfer-Encoding: chunked
  14. < Content-Type: application/json
  15. < Date: Thu, 03 Apr 2014 14:05:27 GMT
  16. <
  17. {"result":"success"}
Advertisement
Add Comment
Please, Sign In to add comment