Loading ...

火币资金划转错误404,是哪里搞错了吗?

Author: wildfire, Created: 2021-01-17 07:42:58, Updated:

exchange.IO("api", “POST”, “/api/account/v2/transfer”,“from=swap&to=spot&currency=btc&amount=‘0.001’”); img


More

小草 需要添加现货交易所,划转资金是现货api

wildfire 按您提供的格式试了一下,还是报错 Futures_OP 4: 404: <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>openresty</center> </body> </html>

小草 参考文档的例子

小草 exchange.IO("api", "POST", "/v2/account/transfer", "" , JSON.stringify(obj));

wildfire var obj={ "from":"swap", "to":"spot", "currency":"btc", "amount":"0.001" }; exchange.IO("api", "POST", "https://api.huobi.pro/v2/account/transfer", "" , JSON.stringify(obj)); 还是不行,能不能直接给个行的通的写法啊?

小草 不是这样写的,看看文档IO的例子

wildfire 格式调整了一下,不报404了,但是又报参数错误exchange.IO("https://api.huobi.pro", "POST", "/v2/account/transfer&from=swap&to=spot&currency=btc&amount='0.001'"); Futures_OP 4: argument error

wildfire 火币的人说可能是域名找不到,要怎么处理呢?

wildfire 添加了现货交易所,还是转不了