-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
`host = "https://api.gateio.ws"
prefix = "/api/v4"
common_headers = {'Accept': 'application/json', 'Content-Type': 'application/json'}
url = '/withdrawals'
body = {
"currency": "USDT", #"ADF",
"address": BITGET_DEPOSIT_ADDRESS,
"amount": "5",
"chain": "BSC/BEP20", #BSC/BEP20 MATIC
"address_memo": ""
}
request_content = json.dumps(body)
sign_headers = gen_sign('POST', prefix + url, "", request_content)
sign_headers.update(common_headers)
res = requests.post(host + prefix + url, headers=sign_headers, data=request_content)
print(res.status_code)
print("Response {0}".format(res))
return res`
Although the request returned with statusCode is 200 but the content in body is empty when i withdrawed usdt.
I tested some coins (not USDT) and it is work normally
Metadata
Metadata
Assignees
Labels
No labels