# -*- coding: utf-8 -*-
"""
@author:zhaiht
@file: tokenTest.py
@time: 2020/8/27 16:36
@desc:
"""
import requests
import json
URL = 'http://10.3.20.41:9003/api/tkio/authorization_token'
headers = {'Content-Type': 'application/json'}
params_token = {
"appid": "03cca1a7459b7794147f0f94cbbdbd9f",
"appsecret": "1B05F022413F180F53CC21B6C4579D37"
}
r = requests.post(url=URL, data=json.dumps(params_token), headers=headers, timeout=10)
print(r.text)