I have implemented an API with Basic Authentication
When I provide the correct username and password to the authentication, it works fine,
However, the problem is when i provide the wrong username / password to the request, how to prevent the Sign In dialog from pop-up
Here is my axios request code,
axios.post(url, {}, {
auth: {
'username': 'wrong username',
'password': 'wrong password'
}
})
How to prevent this dialog box from showing when I provide the wrong username / password