I want to pass parameter in POST request in Axios library as :
{
params :
{
email: email,
password: password,
}
}
I have tried :
axios.post(url,
{
params : {
email: '[email protected]',
password: 'Password!',
sign_in_type: '1',
fb_token: '',
google_token: ''
}
},
{headers: headers}
)
But nothing works! Please suggest if you have any idea.
Thank you!