Last active
May 9, 2017 01:15
-
-
Save beldpro-ci/4e7cce142ef86d2f74a4f585e5734b1b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Bearer to Basic | |
http -v :80/bearer-to-basic Authorization:'Bearer token' | |
GET /bearer-to-basic HTTP/1.1 | |
Accept: */* | |
Accept-Encoding: gzip, deflate | |
Authorization: Bearer token | |
Connection: keep-alive | |
Host: localhost:80 | |
User-Agent: HTTPie/0.9.9 | |
HTTP/1.1 200 OK | |
Connection: keep-alive | |
Content-Length: 145 | |
Content-Type: application/octet-stream | |
Date: Tue, 09 May 2017 01:12:19 GMT | |
Server: openresty/1.11.2.3 | |
Headers: | |
host=localhost | |
authorization=Basic IHRva2VuOg== | |
accept-encoding=gzip, deflate | |
user-agent=HTTPie/0.9.9 | |
connection=close | |
accept=*/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment