Getting a 401 Unauthorized error with Axios in JavaScript, but it works in Postman and Chrome. What could be causing this?
I am using the Axios library to make an HTTP GET request to an endpoint on a camera device
Hikvision APIs are giving 401 error in javascript, but works fine with postman and direct get from chrome
It always gives 401 unauthorized error whenever I try to get, it works fine with postman, directly getting from chrome, however when I try it from javascript it always gives 401 error