How do I POST to a web page using Firebug?

How do I POST to a web page using Firebug?


You can send POST request to any page by opening console (e.g. in FireFox ctrl + shift + k) and typing 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();

AFAIK Firebug can't do this. However, there is a very useful Firefox extension, in the spirit of Firebug, called Tamper Data. This should be able to do what you want.

It allows you to monitor each request made by the browser, and you can turn on an option that allows you to look at, and edit, every single request before it gets sent.