api endpoint returns actives parents by default
This commit is contained in:
5
homepage/participo/testApi.py
Normal file → Executable file
5
homepage/participo/testApi.py
Normal file → Executable file
@@ -1,3 +1,5 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
from http import client
|
||||
import logging
|
||||
import json
|
||||
@@ -27,7 +29,6 @@ try:
|
||||
print(json.dumps(json.loads(body),indent=2))
|
||||
except:
|
||||
print(f"failed to parse to json")
|
||||
print(body
|
||||
)
|
||||
print(body)
|
||||
|
||||
connection.close()
|
||||
|
||||
Reference in New Issue
Block a user