From 1aa885ff327e2dd90e6c0d074204def9bcc44b0e Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 26 Dec 2021 17:56:19 +0100 Subject: [PATCH] Fixed test.py script --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 3e1a1bb..d610f8e 100644 --- a/test.py +++ b/test.py @@ -12,8 +12,8 @@ data = { "shortname": "short", } -r = requests.post("http://localhost:8000/api/v1/sections", headers=headers, json=data) +r = requests.post("http://localhost:8001/v1/sections", headers=headers, json=data) print(r.content) print(r.status_code) -r = requests.get("http://localhost:8000/api/v1/sections?offset=0&limit=100") +r = requests.get("http://localhost:8001/v1/sections?offset=0&limit=100") print(r.json())