concordia-docker/tools/getTmsInfo3.py
Rafał Jaworski 6b59e1b0f3 cleaned tests
2019-05-30 11:25:12 +02:00

24 lines
378 B
Python
Executable File

#!/usr/bin/python3
# -*- coding: utf-8 -*-
import json
import requests
import sys
import time
import host
address = 'http://'+host.concordia_host
if len(host.concordia_port) > 0:
address += ':'+host.concordia_port
print("Trying getTmsInfo on %s" % address)
data = {
'operation': 'getTmsInfo'
}
response = requests.post(address, json=data)
print(response.content)