문제

I have an application on my iPhone which sends out Http requests; is it possible to look into the HTTP stream using some tool??

I use standalone version of (IEInspector's) HttpAnalyzer tool on my windows PC to monitor HTTP traffic from all processes including the apps on Android phone (thanks to android debug bridge interface). Is there a similar tool for OS X that I can use for iPhone apps? Is this even allowed?

Thanks in advance.

도움이 되었습니까?

해결책

I use Charles for HTTP monitoring. It can hook into the standard OS X proxy settings (as used by Safari) so it should work fine with the iPhone emulator in the SDK.

다른 팁

To directly monitor the traffic you can use tools like Wireshark or tcpdump.

If you want to send 'fake' requests to a server or have a simple listening server running to receive requests from the iPhone you can use netcat and cURL. I've explained that case in a tutorial if that is sufficient for what you need. If not I recommend Wireshark, which has a GUI and is quite simple to understand.

You can use HTTP Catcher. It can monitor HTTP traffic without a computer and Wi-Fi.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top