def post(params, route):
base_url = "http://xxxxxx"
headers = {"Content-Type": "application/json;charset=utf-8"}
url = base_url + route
print("Url: {}".format(url))
data = json.dumps(params, ensure_ascii=False)
print("Request body:\n{}".format(data.encode('gbk')))
response = requests.post(url, data.encode('gbk'), headers)
print("Response body:\n{}\n".format(response.text))
```