Fixed test.py script

pull/4/head
Jef Roosens 2021-12-26 17:56:19 +01:00
parent 0d49a71459
commit 1aa885ff32
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 2 additions and 2 deletions

View File

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