-1

Every HTTP request is sent twice after a request that I called in ngOnInit().

Antti29
  • 2,953
  • 12
  • 34
  • 36
shiva
  • 1
  • 1
  • Don't attach the image to the question, just copy paste the code to question that helps readers to follow up. – danglingpointer Oct 31 '17 at 10:32
  • Maybe could be a CORS related issue, see my answer here maybe it can clarify https://stackoverflow.com/a/47034547/2860519 – JuanDM Oct 31 '17 at 12:55

1 Answers1

0

Because you're sendgin both an OPTIONS and GET requests.

See more here