At the moment I am developing an API which returns a token with OAuth2, at the moment I try to enter everything well, now I would like to know how to obtain the 401 code to send it in the header as a response when the token time expires
Loading
At the moment I am developing an API which returns a token with OAuth2, at the moment I try to enter everything well, now I would like to know how to obtain the 401 code to send it in the header as a response when the token time expires
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Viswanatha SwamyPosted Sep 3, 2020, 9:00 PM