Hapus Token Axios
axios.delete(URL, {
headers: {
Authorization: authorizationToken
},
data: {
source: source
}
});
Dark Dormouse
axios.delete(URL, {
headers: {
Authorization: authorizationToken
},
data: {
source: source
}
});
delete axios.defaults.headers.common["Authorization"];
// or which ever header you have to remove