mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-25 00:34:21 +03:00
commit
0e1c1f6b91
|
@ -157,7 +157,7 @@ We can now access our API, both from the command-line, using tools like `curl`..
|
|||
|
||||
Or using the [httpie][httpie], command line tool...
|
||||
|
||||
bash: http -a username:password123 http://127.0.0.1:8000/users/
|
||||
bash: http -a admin:password123 http://127.0.0.1:8000/users/
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user