HTTP method
The name of the HTTP method comes right before the URL argument:
- $ http DELETE example.org/todos/7
Which looks similar to the actual Request-Line
that is sent:
- DELETE /todos/7 HTTP/1.1
When the METHOD
argument is omitted from the command, HTTPie defaults toeither GET
(with no request data) or POST
(with request data).