I have an API call that sends the following response when the request is made through browser,
{'Status': {'Code': 4, 'Message': 'Please wait'}}
After a few seconds the response changes to
{'Status': {'Code': 0, 'Message': 'The request is successful', 'TransactionId': 456719}}
I can see this from the network tab in the browser's developer tools.
In python, if I execute the request twice while using sleep in between, I get the second response. But can I achieve this without executing the API call twice?