Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically communicate with charles proxy server HTTP request and response

I am trying to develop an app which monitors data plan usage of other apps. As per the link iPhone/iPad data usage tracking , I set up the proxy server Charles. Now I can see all the http request/responses of iPhone network traffic in charles. Now I need to write an app that can inspect the HTTP headers of these charles request/responses. How to do this programmatically in IOS(objective-C)? Please help!

like image 590
user1165756 Avatar asked Oct 23 '25 06:10

user1165756


1 Answers

I cannot add this as a comment (need 50 rep), and I understand that's it may not be exactly what you're looking for, but is the only way I have found to access sessions programatically.

You could write an app that utilises the Web Interface. I use it whilst running tests against my app to retrieve the session activity, then make assertions against the downloaded information retrospectively. Hope that helps.

like image 173
David Boydell Avatar answered Oct 24 '25 20:10

David Boydell



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!