ajay raju

ajay raju

  • NA
  • 397
  • 0

HttpWebResponse gives previous response

Jul 17 2022 7:11 AM

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)