From ad3d4701954464d66664593e398cc6ea340398d5 Mon Sep 17 00:00:00 2001 From: Jakub K Date: Sun, 28 Jan 2024 17:09:26 +0100 Subject: [PATCH] fix bytes to string --- jobposting/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobposting/views.py b/jobposting/views.py index 7615c70..5b57efe 100644 --- a/jobposting/views.py +++ b/jobposting/views.py @@ -111,6 +111,6 @@ class GetAuthTokenView(APIView): } print(headers) print("DATA READY") - response = requests.post('http://izaac.izaac.pl/o/token/', headers=headers, data=data) + response = requests.post('http://localhost:8000/o/token/', headers=headers, data=data) print(response.text) return Response(response.json()) \ No newline at end of file