-2
axios({
method: 'post',
url: 'https://backend.tangotechapp.com/REST/getTokenRequest',
headers: { 'Content-Type': 'multipart/form-data' },
}).then(
response => {
console.log(response.data);
}
).catch(function (error) {
console.log(error);
});
But shows some error?
– LeAndrade
It does not return the token, the body is being sent empty.
– João Filipe
The request type is 'Content-Type': 'Multipart/form-data'
– João Filipe