Whether I try to access the API in my application or using curl (in windows or linux) i receive the following verbose response.
C :\Program Files\cURL\bin>curl -v "https://api.clover.com/v3/merchants/[mId]" --header "Authorization: Bearer [token]"
- Trying ***...
- Connected to api.clover.com (**) port 443 (#0)
- ALPN, offering http/1.1
- Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
- successfully set certificate verify locations:
- CAfile: c:\Program Files\cURL\bin\curl-ca-bundle.crt CApath: none
- TLSv1.2 (OUT), TLS header, Certificate Status (22):
- TLSv1.2 (OUT), TLS handshake, Client hello (1):
- TLSv1.2 (IN), TLS handshake, Server hello (2):
- TLSv1.2 (IN), TLS handshake, Certificate (11):
- TLSv1.2 (IN), TLS handshake, Server key exchange (12):
- TLSv1.2 (IN), TLS handshake, Server finished (14):
- TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
- TLSv1.2 (OUT), TLS change cipher, Client hello (1):
- TLSv1.2 (OUT), TLS handshake, Finished (20):
- TLSv1.2 (IN), TLS change cipher, Client hello (1):
- TLSv1.2 (IN), TLS handshake, Finished (20):
- SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
- ALPN, server did not agree to a protocol
- 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: Dec 1 20:21:39 2014 GMT
- expire date: Feb 17 23:41:08 2017 GMT
- subjectAltName: api.clover.com matched
- issuer: C=US; O=GeoTrust Inc.; CN=RapidSSL SHA256 CA - G3
- SSL certificate verify ok. > GET /v3/merchants/[mid] HTTP/1.1 > Host: api.clover.com > User-Agent: curl/7.46.0 > Accept: /> Authorization: Bearer [token] > < 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