i want to return a 401 error from my API
this code works when calling the API from postman or from another server, problem is when calling from the browser, I am gett