18 lines
435 B
Python
18 lines
435 B
Python
import requests
|
|
|
|
url = "http://8.137.99.82:9000/api/accounts"
|
|
|
|
payload={}
|
|
headers = {
|
|
# 'Authorization': '082af0d858ea4d23a905c82bab753d15',
|
|
'User-Agent': 'Apifox/1.0.0 (https://apifox.com)',
|
|
'Accept': '*/*',
|
|
'Host': '8.137.99.82:9000',
|
|
'Connection': 'keep-alive',
|
|
'Cookie': 'auth_token=082af0d858ea4d23a905c82bab753d15'
|
|
}
|
|
|
|
response = requests.request("GET", url, headers=headers, data=payload)
|
|
|
|
print(response.text)
|