Fixed test.py script
parent
0d49a71459
commit
1aa885ff32
4
test.py
4
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())
|
||||
|
|
Reference in New Issue