httpie authorization header code example
Example 1: authorization header http
Authorization: <type> <credentials>
Example 2: 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 3: how to post a file httpie
$ http --form PUT httpbin.org/put photo=@/images/photo.png