mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Update 2-requests-and-responses.md (#4209)
Make the usage of httpie accept headers more explicit.
This commit is contained in:
parent
498ce85f34
commit
879652ec2e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user