- Jul 18, 2002
- 1,655
- 1
- 81
I am writing a phonegap application in Eclipse that works against a RESTful api. For purposes of debugging, I would like to see what my POSTs and GETs look like. All information on google says to use a fiddler proxy. I got fiddler installed and work, setup my android emulator to use it, but whenever I start querying the restful service the packets get mangled somehow (or at least the authorzation portion of it).
If I do not have the proxy going, the following JS code works fine in my android emulator:
But when I have fiddler going, so that I can analyze the requests my android app is making, I get the following error:
As far as I can tell from inspecting the initial request in fiddler the following changes are made:
User-Agent, Connection, and Host headers are stripped. I tried adding them in manually, using Fiddler rules, but that didnt work.
Also, when I look at the TextView tab of the request, the following headings under Extensions are stripped:
I thought about using WireShark, but all the communication is done over https, and would prefer to use fiddler.
Any advice would be greatly appreciated!!
Posted over at Stackoverflow if you play that game: http://stackoverflow.com/questions/...wrecking-my-android-emulator-packets-over-vpn
If I do not have the proxy going, the following JS code works fine in my android emulator:
Code:
$.post("https://blah.hi.com/homepage/security_check",
$("#loginForm").serialize(), function (data, textStatus, jqXHR) {...
But when I have fiddler going, so that I can analyze the requests my android app is making, I get the following error:

As far as I can tell from inspecting the initial request in fiddler the following changes are made:
User-Agent, Connection, and Host headers are stripped. I tried adding them in manually, using Fiddler rules, but that didnt work.
Also, when I look at the TextView tab of the request, the following headings under Extensions are stripped:

I thought about using WireShark, but all the communication is done over https, and would prefer to use fiddler.
Any advice would be greatly appreciated!!
Posted over at Stackoverflow if you play that game: http://stackoverflow.com/questions/...wrecking-my-android-emulator-packets-over-vpn