From 26e1df03da9aa623461dc97a5f7319ec392d810b Mon Sep 17 00:00:00 2001 From: sononeko Date: Sat, 5 May 2018 12:54:40 +0300 Subject: [PATCH] Remove username and password from tests examples User authentication is not really required for the examples on this page and hence the username and password --- docs/tutorial/quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 35d5642c7..2f037c05e 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -153,7 +153,7 @@ We're now ready to test the API we've built. Let's fire up the server from the We can now access our API, both from the command-line, using tools like `curl`... - bash: curl -H 'Accept: application/json; indent=4' -u admin:password123 http://127.0.0.1:8000/users/ + bash: curl -H 'Accept: application/json; indent=4' http://127.0.0.1:8000/users/ { "count": 2, "next": null, @@ -176,7 +176,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 admin:password123 http://127.0.0.1:8000/users/ + bash: http http://127.0.0.1:8000/users/ HTTP/1.1 200 OK ...