Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to print the request when using HTTPie?

Tags:

httpie

Is it possible to print on output the request (headers and body), in addition to the response, using HTTPie?

like image 745
mike Avatar asked Jan 23 '13 13:01

mike


Video Answer


1 Answers

--verbose, -v Print the whole HTTP exchange (request and response).

If you want, you can print any combination of request headers, request body, response headers and response body independently. See --print

https://github.com/jkbr/httpie#output-options

like image 158
Colonel Panic Avatar answered Sep 21 '22 09:09

Colonel Panic