axios pass object on delete request code example
Example: how to send axios delete to the backend reactjs
axios.delete(URL, {
headers: {
Authorization: authorizationToken
},
data: {
source: source
}
});
axios.delete(URL, {
headers: {
Authorization: authorizationToken
},
data: {
source: source
}
});