Forrest logo
back to context overview

httpie

List of commands for httpie:

  • httpie:tldr:12760 httpie: Follow redirects and show intermediary requests and responses.
    $ http --follow --all ${https:--example-com}
    try on your machine
    explain this command
  • httpie:tldr:204e7 httpie: Send a GET request (default method with no request data).
    $ http ${https:--example-com}
    try on your machine
    explain this command
  • httpie:tldr:3abd0 httpie: Send a POST request with redirected input.
    $ http ${https:--example-com} < ${file-json}
    try on your machine
    explain this command
  • httpie:tldr:8ec3f httpie: Send a PUT request with a given JSON body.
    $ http PUT ${https:--example-com-todos-7} ${hello=world}
    try on your machine
    explain this command
  • httpie:tldr:dafce httpie: Send a DELETE request with a given request header.
    $ http DELETE ${https:--example-com-todos-7} ${API-Key:foo}
    try on your machine
    explain this command
  • httpie:tldr:fdbc0 httpie: Show the whole HTTP exchange (both request and response).
    $ http -v ${https:--example-com}
    try on your machine
    explain this command
back to context overview