Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I send a POST request with a web browser? [duplicate]

Tags:

browser

http

post

How can I send a POST request with a web browser?

like image 391
matt jack Avatar asked Jul 22 '10 09:07

matt jack


2 Answers

With a form, just set method to "post":

<form action="blah.php" method="post">
  <input type="text" name="data" value="mydata" />
  <input type="submit" />
</form>
like image 128
oezi Avatar answered Nov 11 '22 13:11

oezi


You can create an HTML page with a form, having method="post" and action="yourdesiredurl" and open it with your browser.

As an alternative, there are some browser plugins for developers that allow you to do that, like Web Developer Toolbar for Firefox.

like image 25
Matteo Mosca Avatar answered Nov 11 '22 15:11

Matteo Mosca