import requests import json url = 'http://106.52.105.247:7777/submit' data = { 'a': 1 } data = json.dumps(data) a = requests.post(url=url, data=data).text print(json.loads(a))