How to make POST to a webpage using Firebug?

How to make POST on a webpage using Firebug?

+61
post firebug
Aug 04 '09 at 21:59
source share
10 answers

AFAIK Firebug cannot do this. However, there is a very useful Firebug-like Firefox extension called Tamper Data . This should be able to do what you want.

It allows you to track every request made by the browser, and you can enable an option that allows you to view and edit each individual request before sending it.

+36
Aug 04 '09 at 22:09
source share

You can send a POST request to any page by opening the console (for example, in FireFox ctrl + shift + k ) and typing a simple JS:

var formPost = document.createElement('form'); formPost.method = 'POST'; formPost.action = 'https://www.google.com'; //or any location you want document.body.appendChild(formPost); formPost.submit(); 
+40
Aug 09 '12 at 15:00
source share

Firefox 27 (perhaps earlier versions have also never been tested) has built-in developer tools for modifying and resubmitting requests. If you do not have Firebug, the console is accessible by pressing the F12 key. If Firebug is installed, press Ctrl+Shift+K instead.

enter image description here

+22
Feb 10 '14 at 7:30
source share

I know this is an old question, but I recently came across the same problem and wanted to share the method that I am using.

Assuming that the website you want to use POST to is in the form with the = "POST" method (a very likely scenario), you can use the Firebug JavaScript command line to programmatically send a POST request. Just click the "Show command line" icon in Firebug and type something like this in the narrow text box at the very bottom of the window:

  document.forms[0].submit() 

Maybe this helps someone.

+13
May 17 '11 at 13:32
source share

Another simple solution is to load any web page using jQuery and enter $ .post () in the console.

+6
Apr 3 2018-12-12T00:
source share

An HTTP resource is a firefox plugin that can do this.

+4
May 26 '11 at 8:12
source share

Another powerful Firefox plugin for executing an email request and a few more features is Hackbar .

+1
Aug 09 2018-12-12T00:
source share

Related: To resubmit the POST, right-click the POST request in the Net / XHR view and click Submit.

Using Firebug 1.12.0:

+1
Aug 26 '13 at 0:56
source share

Here we searched for a way for Firebug to do this. Then I realized that I could use Fiddler . This is the most powerful tool I know when it comes to debugging web requests.

Fiddler Free web proxy for any browser, system or platform

Go to the Composer tab and write your request as desired - then click Run.

0
Nov 09 '13 at 14:43
source share

NO NECESSARY CONNECTIONS!

Just drag any URL into the BOOKMARK BAR , then right-click and EDIT and paste the javascript code:

enter image description here

 javascript:var my_params=prompt("Enter your parameters","var1=aaaa&var2=bbbbb"); var Target_LINK=prompt("Enter destination", location.href); function post(path, params) { var form = document.createElement("form"); form.setAttribute("method", "post"); form.setAttribute("action", path); for(var key in params) { if(params.hasOwnProperty(key)) { var hiddenField = document.createElement("input"); hiddenField.setAttribute("name", key); hiddenField.setAttribute("value", params[key]); form.appendChild(hiddenField); } } document.body.appendChild(form); form.submit(); } parsed_params={}; my_params.substr(1).split("&").forEach(function(item) {var s = item.split("="), k=s[0], v=s[1]; parsed_params[k] = v;}); post(Target_LINK, parsed_params); void(0); 

then enter the website’s destination link and click this button in the BOOKMARK BAR ! What all!





(source: https://stackoverflow.com/a/167958/ )

0
Jul 29 '16 at 8:28
source share



All Articles