how to send a post request with a web browser [dup

2019-01-17 10:00发布

This question already has an answer here:

how to send a post request with a web browser?

2条回答
我欲成王,谁敢阻挡
2楼-- · 2019-01-17 10:04

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>
查看更多
Luminary・发光体
3楼-- · 2019-01-17 10:10

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

查看更多
登录 后发表回答