Thursday, 9 November 2017

google chrome - Storing a HTTP POST request in a bookmark or something similar as you would with a GET request


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


http://url.com/service?variable=value

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.



Answer




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.




getToPost







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


file:///C:/getToPost?name1=value1&name2=value2#http://url.com/service

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


#   ->   %23
% -> %25
& -> %26
= -> %3D

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...