mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-16 07:02:10 +03:00
Tutorial 1: Added --unsorted option to httpie calls to prevent automatic json key sorting
This commit is contained in:
parent
36d5c0e74f
commit
6cd5e716e3
|
@ -321,7 +321,7 @@ You can install httpie using pip:
|
|||
|
||||
Finally, we can get a list of all of the snippets:
|
||||
|
||||
http http://127.0.0.1:8000/snippets/
|
||||
http http://127.0.0.1:8000/snippets/ --unsorted
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
...
|
||||
|
@ -346,7 +346,7 @@ Finally, we can get a list of all of the snippets:
|
|||
|
||||
Or we can get a particular snippet by referencing its id:
|
||||
|
||||
http http://127.0.0.1:8000/snippets/2/
|
||||
http http://127.0.0.1:8000/snippets/2/ --unsorted
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user