Hello guys, please why do I keep getting the above error below is my code snippet.
const binanceConfig = {
API_KEY: '',
API_SECRET: '',
HOST_URL: 'https://testnet.binance.vision/api/v3/',
};
let querystring = `symbol=BNBBUSD&side=BUY&type=MARKET"eOrderQty=100×tamp=${new Date().getTime()}`;
let signature = crypto
.createHmac('sha256', binanceConfig.API_SECRET)
.update(querystring)
.digest('hex');
const fullUrl = `${binanceConfig.HOST_URL}order?${querystring}&signature=${signature}`.trim();
console.log(fullUrl);
const makePurchaseFromBinance = await axios.post(fullUrl, {}, {
headers: {
'X-MBX-APIKEY': binanceConfig.API_KEY,
'content-type': 'application/x-www-form-urlencoded',
},
})