bithumb-pro / bithumb.pro-official-api-docs

rest and websocket api doc
22 stars 26 forks source link

POST API does not work #92

Closed k1tzu closed 2 years ago

k1tzu commented 2 years ago

Carefully reading your API documentation I'm following the python example https://github.com/bithumb-pro/python-api-client/blob/master/BithumbGlobal.py Example POST request to 'https://global-openapi.bithumb.pro' trying to get current balance:

POST /openapi/v1/spot/assetList HTTP/1.1
content-type: application/json
Content-Length: 212

{"apiKey": "61b1XXXXXXXXfd40", "bizCode": "assetList", "msgNo": "1634743510567", "timestamp": "1634743510567", "assetType": "spot", "signature": "7b31c868a7ddcf61ebf922f890efXXXX6826251ebc22fe5d2a8d75c0ebee9d35"}

gets a response from the server {"data":null,"code":"9000","msg":"missing parameter","timestamp":1634743510756,"startTime":null}

k1tzu commented 2 years ago

The problem was that API keys used were wrong.