Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I POST to a web page using Firebug?

Tags:

http

post

firebug

How do I POST to a web page using Firebug?

like image 286
Guy Avatar asked Aug 04 '09 21:08

Guy


2 Answers

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();
like image 73
Marko Vranjkovic Avatar answered Nov 12 '22 03:11

Marko Vranjkovic


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.

like image 33
Mike Cooper Avatar answered Nov 12 '22 04:11

Mike Cooper