Response for preflight has invalid HTTP status code 403 in Angular 2

前端 未结 3 682
忘掉有多难
忘掉有多难 2021-01-28 14:19

I am working with an Angular 2 & Ionic 2 app. I had to change to another server for testing and the API has stopped working with the below error message:

3条回答
  •  不知归路
    2021-01-28 15:00

    HttpOptions does not append authorization to the request, you need to use AllowAnonymous on the Options endpoints

提交回复
热议问题