diff --git a/Makefile b/Makefile index 9e46a5a2..95a590ea 100644 --- a/Makefile +++ b/Makefile @@ -140,7 +140,7 @@ codecov-upload: doc-check: @echo $(H1)Running documentations checks$(H1END) - mdl --verbose --git-recurse --style docs/linter/mdl-styles.rb . + mdl --git-recurse --style docs/linter/mdl-styles.rb . ############################################################################### diff --git a/docs/README.md b/docs/README.md index 38846709..5d967fab 100644 --- a/docs/README.md +++ b/docs/README.md @@ -265,7 +265,6 @@ DELETE /delete HTTP/1.1 In addition to the standard methods (`GET`, `POST`, `HEAD`, `PUT`, `PATCH`, `DELETE`, etc.), you can use custom method names, for example: - ```bash $ http AHOY pie.dev/post ``` @@ -286,8 +285,8 @@ $ http GET pie.dev/get hello=world The `METHOD` argument is optional, and when you don’t specify it, HTTPie defaults to: -* `GET` for requests without body -* `POST` for requests with body +- `GET` for requests without body +- `POST` for requests with body Here we don’t specify any request data, so both commands will send the same `GET` request: @@ -301,7 +300,7 @@ $ http pie.dev/get Here, on the other hand, we do have some data, so both commands will make the same `POST` request: -``` +```bash $ http POST pie.dev/post hello=world ``` @@ -309,8 +308,6 @@ $ http POST pie.dev/post hello=world $ http pie.dev/post hello=world ``` - - ## Request URL The only information HTTPie needs to perform a request is a URL.