accept axios header default code example
Example: header in axios
axios.post('url', {"body":data}, {
headers: {
'Content-Type': 'application/json'
}
}
)
axios.post('url', {"body":data}, {
headers: {
'Content-Type': 'application/json'
}
}
)