i’m trying to post information to my backend, wich is .Net 5 from my angular12 SPA with something like this
return this.http.post(‘https://localhost:44307/something/postRequest’, data);
always returns error 401 unauthorized
i don’t have any problem with GET request, any advice would be appreciated
PD: sorry for my english