Starting from April 10, 2019, we change the validation of the input parameters when querying the EXMO API.
For all the EXMO API users:
Starting from April 10, 2019, we change the validation of the input parameters when querying the EXMO API.
When sending a POST request, all parameters should be passed in the request body, if GET parameters are passed in the POST request, the following error will be returned:
{“result”:false,”error”:”Error 40038: GET parameters are forbidden in POST requests”}
The example of the correct request:
The example of the incorrect request:
curl -X POST \
https://api.exmo.com/v1/order_create/?pair=BTC_USD&type=buy&quantity=0.01&price=5000 \
-H ‘Content-Type: application/x-www-form-urlencoded’ \
-H ‘Key: K-xxx’ \
-H ‘Sign: xxx’ \
-d ‘nonce=100500’
The following mistake will be returned:
{“result”:false,”error”:”Error 40038: GET parameters are forbidden in POST requests”}
GET requests to the Public API will work as usual.
Thank you for staying with us!
Best regards,
EXMO team