Angular - Catching error after all HTTP retry failed

后端 未结 4 1954
走了就别回头了
走了就别回头了 2021-01-07 10:06

I am using Angular Service to get data from my API. I implemented retry feature in case of fetching data fails. Now i need to handle the error when all the retr

4条回答
  •  被撕碎了的回忆
    2021-01-07 10:50

    According to the Errormessage you have CORS issue. You have to enable cors in your SLIM Backend http://www.slimframework.com/docs/v3/cookbook/enable-cors.html

提交回复
热议问题