Created
January 22, 2020 05:59
-
-
Save dobesv/69bdb0f255a892b077f29c1cc8df4c5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -v "https://api.xero.com/api.xro/2.0/Accounts" | |
> GET /api.xro/2.0/Accounts HTTP/1.1 | |
> Host: api.xero.com | |
> User-Agent: curl/7.58.0 | |
> Accept: */* | |
> | |
< HTTP/1.1 401 Unauthorized | |
< Content-Type: text/html; charset=utf-8 | |
< Strict-Transport-Security: max-age=31536000 | |
< WWW-Authenticate: OAuth Realm="api.xero.com" | |
< Content-Length: 95 | |
< Expires: Wed, 22 Jan 2020 05:56:23 GMT | |
< Cache-Control: max-age=0, no-cache, no-store | |
< Pragma: no-cache | |
< Date: Wed, 22 Jan 2020 05:56:23 GMT | |
< Connection: keep-alive | |
< X-Client-TLS-ver: tls1.3 | |
< | |
* Connection #0 to host api.xero.com left intact | |
oauth_problem=consumer_key_unknown&oauth_problem_advice=Consumer%20key%20was%20not%20recognised |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment