Advertisement
Guest User

DEVASK

a guest
Dec 3rd, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. curl -kv -X POST "https://api.clover.com/v3/merchants/C1VED12GRTQ3T/order_types" --header "Authorization: Bearer MyTOKEN" --data "[Content from ot.json"
  2. * Adding handle: conn: 0x2ce4380
  3. * Adding handle: send: 0
  4. * Adding handle: recv: 0
  5. * Curl_addHandleToPipeline: length: 1
  6. * - Conn 0 (0x2ce4380) send_pipe: 1, recv_pipe: 0
  7. * About to connect() to api.clover.com port 443 (#0)
  8. * Trying 184.173.76.3...
  9. * Connected to api.clover.com (184.173.76.3) port 443 (#0)
  10. * SSLv3, TLS handshake, Client hello (1):
  11. * SSLv3, TLS handshake, Server hello (2):
  12. * SSLv3, TLS handshake, CERT (11):
  13. * SSLv3, TLS handshake, Server key exchange (12):
  14. * SSLv3, TLS handshake, Server finished (14):
  15. * SSLv3, TLS handshake, Client key exchange (16):
  16. * SSLv3, TLS change cipher, Client hello (1):
  17. * SSLv3, TLS handshake, Finished (20):
  18. * SSLv3, TLS change cipher, Client hello (1):
  19. * SSLv3, TLS handshake, Finished (20):
  20. * SSL connection using DHE-RSA-AES256-SHA
  21. * Server certificate:
  22. * subject: OU=GT15615774; OU=See www.rapidssl.com/resources/cps (c)13; OU=Domain Control Validated - RapidSSL(R); CN=api.clover.com
  23. * start date: 2014-12-01 20:21:39 GMT
  24. * expire date: 2017-02-17 23:41:08 GMT
  25. * issuer: C=US; O=GeoTrust Inc.; CN=RapidSSL SHA256 CA - G3
  26. * SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
  27. > POST /v3/merchants/C1VED12GRTQ3T/order_types HTTP/1.1
  28. > User-Agent: curl/7.33.0
  29. > Host: api.clover.com
  30. > Accept: */*
  31. > Authorization: Bearer MyTOKEN
  32. > Content-Length: 21
  33. > Content-Type: application/x-www-form-urlencoded
  34. >
  35. * upload completely sent off: 21 out of 21 bytes
  36. < HTTP/1.1 401 Unauthorized
  37. < Content-Length: 30
  38. < Content-Type: application/json; charset=utf-8
  39. < X-Frame-Options: SAMEORIGIN
  40. <
  41. {"message":"401 Unauthorized"}* Connection #0 to host api.clover.com left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement