httpie post file code example Example: how to post a file httpie $ http --form PUT httpbin.org/put photo=@/images/photo.png