The official docs and a cheat sheet from devhints.io.
echo '{"hello": "world"}' | http POST example.com/post