35

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

mike
  • 1,734
  • 1
  • 23
  • 32

1 Answers1

55

--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

Colonel Panic
  • 132,665
  • 89
  • 401
  • 465