I have an app, and I would like to know the webservice URL that it calls. Is there anyway to find this out?
-
1Set it to wifi and capture all outgoing requests at the router. Should work unless it uses https. – Gabe Sechan Jul 26 '13 at 13:44
3 Answers
You should check your android logs first. If the app exposes no info about requests through this, the next best thing would be to decompile the app. If the URL is static, just looking through the data files will get you the address. If it is dynamic, you can modify the dalvik bytecode to have it log to logcat and recompile the apk. If all else fails, you can use tcpdump. You'll need root, and can follow this tutorial to utilize wireshark to visualize it easily.

- 1
- 1

- 668
- 4
- 15
You can do this using app tPacketCapture
. It can store network dumps in a format that can be read by WireShark
or other programs on your pc.

- 964
- 5
- 13
or you could set up a proxy for the phone, using fiddler and a PC, like this: http://www.cantoni.org/2013/11/06/capture-android-web-traffic-fiddler
you'd get all the API requests quite easily then...

- 121
- 1
- 3