Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4051

axios how to send windows authentication headers to API

$
0
0

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


Viewing all articles
Browse latest Browse all 4051

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>