Jeffrey Rasmussen
Jeffrey Rasmussen

Reputation: 393

Find POST parameter

I'm working on website automation by analyzing GET/POST requests in Firebug. The issue I cannot resolve is that I can't find some particular parameter being sent in POST request. It doesn't exist in HTML and I can't find it in *.JS files. Where can it be?

Or give me some tips on how to find parameters in sources properly? I find Firebug very useful on this task.

UPDATE: I see this parameter in POST request. I just cannot find code in HTML sources which generate it.

Upvotes: 1

Views: 247

Answers (2)

Randolpho
Randolpho

Reputation: 56391

One tool you might use is Fiddler, which will let you capture the data being sent to the website and analyze it.

UPDATE: I see this parameter in POST request. I just cannot find code in HTML sources which generate it

I see. Have you tried using the debugger to step through the javascript? That might help you locate the point at which the POST is created. It's also possible that the POST is being generated by server-side generated javascript -- I've seen this as a way to get around cross-domain httpxmlrequest restrictions (also called "same-origin policy"). The pattern is called JSONP, if you think this may be the culprit.

Upvotes: 3

TGlatzer
TGlatzer

Reputation: 6248

POST parameters are submitted inside the request's bodys. If it's empty, then no parameters have been submitted.

Upvotes: 0

Related Questions