1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-06 00:02:48 +02:00
This commit is contained in:
Benoit Marty
2022-04-07 09:30:52 +02:00
parent d4add052d9
commit 1a53d2c8da

View File

@@ -65,6 +65,6 @@ for item in items:
print("# " + item[0] + " (" + item[1] + ")")
print("====================================================================================================")
if item[2]:
os.system("curl -s -X GET '" + item[1] + "' | python -m json.tool")
os.system("curl -s -X GET '" + item[1] + "' | python3 -m json.tool")
else:
os.system("curl -s -X POST --data $'{}' '" + item[1] + "' | python -m json.tool")
os.system("curl -s -X POST --data $'{}' '" + item[1] + "' | python3 -m json.tool")