I am intercepting API calls from an iPhone in Charles Proxy. I am able to re-run these API calls through Charles Proxy's 'Repeat' feature on my laptop and they are successful. However, if I export this API request as a cURL and run the cURL it never returns. If I import the cURL into Postman, the request does not succeed. The Postman request never returns and eventually times out. Is there some feature of a Charles Proxy request that is allowing the API call to succeed that is not included within the cURL? Or vice versa?
All API calls are happening from the same IP Address on the same laptop.
I have tried using Postman's convert to code feature to run the request in Python, this also times out. I have also converted the cURL exported from Charles Proxy directly to Python, bypassing Postman completely, this also times out. I would expect any API call that works in Charles Proxy to work anywhere else, such as Postman and Python or as a cURL.
This leads me to believe that the API call I am making in Postman and Python must be different somehow, but I am not sure how it is different. I believe the cURL that is generated by Charles Proxy must be different somehow.
Update: This issue is only occurring on my laptop, regardless of whether I run behind a VPN or not. Trying to replicate this situation on another machine at a different location results in the requests working in Charles Proxy and as a curl/python.