Вопрос решился так
ordersRouter.post('/myords', async (req, res) => {
const axiosRequestConfig = {
withCredentials:true,
method: "POST",
url: URI_GET_MYORDERS,
data: {
page: req.body.page,
rows: req.body.rows
},
headers: {
'access-control-allow-credentials': true,
'Access-Control-Allow-Origin': '*',
"content-type":"application/json;charset=UTF-8",
"clienttype":"web",
"cookie":req.body.requestHeader.cookie,
"csrftoken":req.body.requestHeader.csrftoken,
"device-info":req.body.requestHeader.deviceInfo,
"user-agent":req.body.requestHeader.userAgent,
}
}
await axios(axiosRequestConfig)
.then(response => {
console.log(response.data)
return res.status(200).json({
success: true,
data: response.data.data,
});
})
.catch((error) => {
console.log('/myords request Error!')
res.status(400).json({
error,
message: 'request Error!',
});
});
});
Всем причастным спасибо. Тему можно закрывать.