Use --offline to see the request but not perform it:
http --offline get google.com GET / HTTP/1.1 Accept: application/json, */*;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Content-Length: 5 Content-Type: application/json Host: google.com User-Agent: HTTPie/2.4.0
echo "Hello HN" | http --offline get google.com GET / HTTP/1.1 Accept: application/json, */*;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Content-Length: 13 Content-Type: application/json Host: google.com User-Agent: HTTPie/2.4.0 Hello HN
Use --offline to see the request but not perform it:
Pipe stuff to httpie to put it in the payload: And use http-prompt, because it's awesome: https://github.com/httpie/http-prompt