Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

You can store a bookmark with a GET request like this:


Can you store a POST request in some way in Chrome? Maybe with a plugin? Or maybe in Firefox?

The idea is that I store this in a bookmark and fire it quickly instead of having to fill up a form every time.

share|improve this question
Depending on your OS, you might want to use curl to send the POST request from a file instead –  slhck May 18 '12 at 20:53
Checkout the Greasemonkey extension, available for FF and Chrome. –  ott-- Aug 9 '12 at 12:40

2 Answers 2

up vote 6 down vote accepted

The idea is that I store this in a bookmark and fire it quickly instead of having to fill up a form every time.

For this purpose, the following HTML page will do. It should work in most browsers.

            function getToPost()
                var form = document.getElementsByTagName('form')[0];
                form.style.visibility = 'hidden';
                form.action = document.location.hash.substr(1);
                var search = decodeURIComponent(document.location.search);
                search = search.substr(1).split('&');
                for(var i = 0, j = search.length, input; i < j; i++)
                    input = document.createElement('input');
                    search[i] = search[i].split('=');
                    input.name = search[i][0];
                    input.value = search[i][1];
    <body onload="getToPost()">
        <form method="POST"></form>

Save it as C:\getToPost and you can bookmark the following URL:


You'll be able to use most characters in names or values literally. Encode the following as usual:

#   ->   %23
%   ->   %25
&   ->   %26
=   ->   %3D
share|improve this answer
This has worked straightfwdly for one site, thx! However, for another site using AJAX (I think) it doesn't yet work (I might be doing sth wrong); is there sth which would change if the get/post-thing is handled by AJAX ? –  nutty about natty May 17 '13 at 7:44

When I faced the same problem, I found this beautiful add-on for Firefox: Bookmark POST

With that bookmark its four easy steps to your bookmarked POST request (no javascript required):

  1. Open the page with the form you want to bookmark and fill in the form in a "typical" way. Do NOT submit yet.
  2. Open the Web-Developer Tools -> Network Analysis.
  3. Submit your form. The submit will show up in the network analyis. There you can select "Edit and send again" and copy the "Request-Body".
  4. Create a Bookmark to the form page and add the string POSTDATA={YOUR_REQUEST_BODY_HERE} as the bookmarks description.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.