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())