Question
· Jun 10, 2020

How to response with 401 unauthorized in REST

Hello everyone! 

I have REST API and want check user with http header authorization,

When user input incorrect data refuse them with 401 unauthorized,

Question how to response with 401 unauthorized

Discussion (1)0
Log in or sign up to continue