We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use Spring Boot with Spring Security basic authentication. When i send request with wrong password, i'll receive normal error message in body:
{ "timestamp": "2018-01-15T11:59:31.837+0000", "status": 401, "error": "Unauthorized", "message": "Bad credentials", "path": "/karbonator/api/v1/wallet" }
But when i add additional header X-Requested-With: XMLHttpRequest to the request, i'll receive only status 401 and no body.
Code sample is here: https://github.com/rublin/XMLHttpRequest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use Spring Boot with Spring Security basic authentication. When i send request with wrong password, i'll receive normal error message in body:
But when i add additional header X-Requested-With: XMLHttpRequest to the request, i'll receive only status 401 and no body.
Code sample is here: https://github.com/rublin/XMLHttpRequest
The text was updated successfully, but these errors were encountered: