Nestjs Interceptor how to catch http 401 error and resubmit original request

前端 未结 0 1030
南笙
南笙 2020-12-18 08:49

I need to write a http header interceptor to add Authentication header, if there is 401 error, submit another request for new token, then resubmit the original request with

相关标签:
回答
  • 消灭零回复
提交回复
热议问题