How do I capture a 401 response with Axios returned by a Rails backend (Devise-JWT)

后端 未结 0 363
盖世英雄少女心
盖世英雄少女心 2021-01-06 04:17

I have an axios request:

        Axios({
            url: "/terms",
            headers: {
                \'Authorization\': token
            }
           


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