From 879652ec2e6d88fbd4e4a75c949fafcc11130e76 Mon Sep 17 00:00:00 2001 From: Ankush Thakur Date: Wed, 22 Jun 2016 01:37:55 +0530 Subject: [PATCH] Update 2-requests-and-responses.md (#4209) Make the usage of httpie accept headers more explicit. --- docs/tutorial/2-requests-and-responses.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index c2e7e1c0a..511c50870 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -186,6 +186,8 @@ Similarly, we can control the format of the request that we send, using the `Con "style": "friendly" } +If you add a `--debug` switch to the `http` requests above, you will be able to see the request type in request headers. + Now go and open the API in a web browser, by visiting [http://127.0.0.1:8000/snippets/][devserver]. ### Browsability