Angular 4 single API request running multiple times

后端 未结 2 399
离开以前
离开以前 2020-12-21 16:33

I am having issue regarding Angular 4 App. I have created an app in which data is getting from third party APIs. The issue I am getting is my APIs are calling for multiple t

2条回答
  •  心在旅途
    2020-12-21 17:04

    This is a default browser feature. every time when you run a HTTP request your browser will run that twice one with a method you specified and other is for method OPTION where browser checks either that request is exist or not.

提交回复
热议问题