开发者

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

This question already has answers here: 开发者_C百科 How to manually send HTTP POST requests from Firefox or Chrome browser (18 answers) Closed 7 years ago.

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


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>


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜