1
Answer

HttpWebResponse gives previous response

ajay raju

ajay raju

2y
452
1

Hi,

I have 2 rest api calls,

1) Using POST method to execute create order api, and it gives OrderID and Status in response

2) Using GET method to execute another api with passing above OrderID

First api working fine and gives OrderID, but when execute the second api it gives the same first api response.

If I execute the code using break point then second api gives correct response, if I not use breakpoint it gives first api response.

How to solve using asp.net C#

Thanks,

Ajay

Answers (1)
Next Recommended Forum