query parameter httpie code example
Example 1: post with httpie
echo '{"example": "exampleData"}' | http POST https://addressToPost.com/post
// OR
http POST https://addressToPost.com/post example=exampleData
// Both work the same way
Example 2: how to post a file httpie
$ http --form PUT httpbin.org/put photo=@/images/photo.png