Send Raw String As Body Using HTTPie
Published: October 29 2024

Found this cool feature about HTTPie, echo a string and pipe it to HTTPie to send it as the body of a POST request.

echo '{"name":"Derek"}' | http POST https://example.com