Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70442

How to handle CORS issue, API called twice?

$
0
0

@ashokInceptive wrote:

Hi,

I have integrated change password API with header (‘Content-Type’, ‘application/json’). API called twice,
1st - Request Method: OPTIONS
2nd - Request Method: GET

The password gets changed with the 1st request but I got the response of the 2nd request. That was the wrong response which I got. I want to handle the 1st request’s response which is the correct response.

Please help to handle that request.

Thank You.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>