How axios handle authentication code example
Example: axios basic auth generate
await axios.post(session_url, {}, {
auth: {
username: uname,
password: pass
}
});
await axios.post(session_url, {}, {
auth: {
username: uname,
password: pass
}
});