Skip to content

Commit 90068e8

Browse files
authored
Update 3-requests-tutorial-ita.py
I have just removed the dummy username and password values from the script, even if they are just, again, dummy credentials for a dummy profile created on a local machine as shown in the tutorial... anyway... Happy Coding! :D
1 parent 8f22a2d commit 90068e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Requests-HTTP_Per_Esseri_Umani/3-requests-tutorial-ita.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def auth_request(endpoint, auth_token):
3131

3232

3333
if __name__ == "__main__":
34-
credentials = {"username": "neo", "password": "thereisnospoon"}
34+
credentials = {"username": "", "password": ""}
3535
auth_token = login(credentials)
3636
endpoint = "http://127.0.0.1:8000/api/questions/"
3737

38-
auth_request(endpoint, auth_token)
38+
auth_request(endpoint, auth_token)

0 commit comments

Comments
 (0)