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