I have an API deployed to the server. Authentication is set to "Windows Authentication" but when I send a request using axios
it returns
401 - Unauthorized: Access is denied due to invalid credentials.
How can I send a request with the headers for windows authentication?
axios.get('http://ir-devtestsvr/FantasticDashboard/api/p/getDataA')
.then(r=>{
this.data = r.data
if(typeof(cb)== 'function'){
cb()
}
})
can someone point me in the right direction