import api.api_exchange.py as ex
import requests, json
ip_exchange = "http://10.211.55.3:8080/"
headers = {'content-type': 'application/json'}
response = requests.post(ip_exchange, data=json.dumps(ex.balance.query(1)), headers=headers)
print(json.loads(response.text))