48

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

3
  • See stackoverflow.com/questions/4797534/… Commented Apr 2, 2015 at 18:35
  • 1
    This isn't a duplicate because it does not request an extension or a tool but specifically limits to browser only. Which yielded the superb answer by @oezi Commented Jul 24, 2018 at 12:17
  • 1
    This also isn't a duplicate because this question was asked before the referenced question. Commented Jun 14, 2019 at 20:31

2 Answers 2

62

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> 
Sign up to request clarification or add additional context in comments.

2 Comments

Or you can use Chrome Poster ( chrome.google.com/webstore/detail/chrome-poster/… ) or Firefox Poster ( addons.mozilla.org/ru/firefox/addon/poster ) extentions, if the purpose is testing.
thank you! this was my only resort because I can't download useful extensions like "Postman" at my workplace.
14

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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.