Create new Limit Order doesn't work for me
Hello!
I'm trying to use this method to create a new order. I always receive a non-informative error in response. At the same time other methods that require authentication work fine (methods like "Get balance" for example). Here is my request:
curl --location --request POST 'https://api.qmall.io/api/v1/order/new' \
--header 'X-TXC-APIKEY: f0e...' \
--header 'X-TXC-PAYLOAD: eyJyZXF1ZXN0IjoiL2FwaS92MS9vcmRlci9uZXciLCJub25jZSI6IjE2NDM3MDYyOTgzNDIiLCJtYXJrZXQiOiJFVEhfQlRDIiwic2lkZSI6InNlbGwiLCJhbW91bnQiOiIxIiwicHJpY2UiOiIxIn0=' \
--header 'X-TXC-SIGNATURE: f77ed040bd2b95237d13635fce6f601bc839bfd1992d0eb0aec0f221ece8e820ddec134606e7a126f9141d70eafa4e587bdb81ee9277eb1fe87e0c3db24ab0a4' \
--header 'Content-Type: application/json' \
--header 'Cookie: JSESSIONID=C431C260CDC18AB3546F9873A4C2AB85' \
--data-raw '{"request":"/api/v1/order/new","nonce":"1643706298342","market":"ETH_BTC","side":"sell","amount":"1","price":"1"}'
And here is the response:
{
"code": 0,
"success": false,
"message": "Code 5 with message: Empty response.",
"result": []
}
Edited by Andrei Fedotov