curl

$ curl http://localhost:8000/posts \
    -x POST \
    -H "Content-Type: application/json" \
    -d '{"title": "Post 1"}'
{
    "title": "Post 1"
}