Open htquyen1994 opened 5 months ago
`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
@revilwang @gateio @Sinclair-Ni
As this is an issue related to a specific API response, I suggest submitting an issue through our help center.
`host = "https://api.gateio.ws" prefix = "/api/v4" common_headers = {'Accept': 'application/json', 'Content-Type': 'application/json'}
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