You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also returns headers like content type, date, server
If data aren't valid or user doesn't exist, the WebAPI returns 400 Bad Request with error message.
For example, when the WebAPI receives not valid data:
{
"Password": [
"The length of 'Password' must be 20 characters or fewer. You entered 21 characters.",
"Invalid value!"
],
"LoginOrEmail": [
"The length of 'Login Or Email' must be 20 characters or fewer. You entered 21 characters.",
"Invalid value!"
]
}