Created
August 15, 2016 16:38
-
-
Save petejohanson/d00537163fce8a99b60be06acbeb9a8a to your computer and use it in GitHub Desktop.
HTTPie example
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
[peter@suspect ~]$ http --print=hH get https://cryptottdemowebapi.xbtce.net:8443/api/v1/public/tick Accept:*/* | |
GET /api/v1/public/tick HTTP/1.1 | |
Accept: */* | |
Accept-Encoding: gzip, deflate | |
Connection: keep-alive | |
Host: cryptottdemowebapi.xbtce.net:8443 | |
User-Agent: HTTPie/0.9.4 | |
HTTP/1.1 200 OK | |
Content-Encoding: gzip | |
Content-Length: 1357 | |
Content-Type: application/json; charset=utf-8 | |
Date: Mon, 15 Aug 2016 16:36:11 GMT | |
Server: Microsoft-HTTPAPI/2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment