Top "Http-status-code-401" questions

Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed or not yet been provided.

Java HttpURLConnection.getInputStream but get 401 IOException

I am writing a REST client for CouchDB in Java. The following code should be quite standard: this.httpCnt.connect(); …

java httpresponse httpurlconnection http-status-code-401
'Login as another user' MVC 4 Windows Authentication

I have an intranet project written in MVC 4 which uses Windows Authentication to authorise and authenticate users. I need to …

asp.net-mvc http windows-authentication logout http-status-code-401
Laravel 5.4 + Ajax equals 401 Unauthenticated

Whenever I try to assign a route from my api.php File I get a 401: Unauthenticated-Error. This is the route: …

jquery ajax laravel-5 csrf http-status-code-401
Setting authentication header for WebBrowser control - ASP.NET

I'm using WebBrowser control in my asp.net application to generate screenshots of web pages. I was able to generate …

c# asp.net webbrowser-control http-status-code-401
WCF REST Service - 401 Unauthorized

We're in the process of developing a WCF REST web service which just receives a bunch of arbitrary text from …

wcf iis rest iis-7 http-status-code-401
PHP Digest auth, logout

Is there a way to logout of a digest authentication done in php. I have tried unset($_SERVER["PHP_AUTH_…

php security logout http-status-code-401 digest-authentication
Ruby-on-Rails: How to get rid of "you are being redirected" page

I am overriding Devise's failure response so that I can set a 401 status code. However, when the user fails to …

ruby-on-rails redirect devise http-status-codes http-status-code-401
"Authentication not supported": jgit error when trying to clone tfs hosted git repo

When I try to clone a tfs hosted git repo http://tfstta.com:8080/tfs/DefaultCollection/_git/SampleTFSGit from my linux …

authentication tfs-2015 git-clone http-status-code-401
strange 401 error appears for some urls when using .htaccess to redirect http to https

OK, here is the 7th day of unsuccessfull attempt to find an answer why 401 error appears... Now, .htaccess in the …

http .htaccess mod-rewrite https http-status-code-401
iPhone: why i got this error --- HTTP error 401--- Twitter

hi i am developing Twitter client on iPhone, here i am using MGTwitter library and OAuthentication, i am Authenticating(sign …

iphone twitter http-status-code-401