get2post

A simple redirect service to convert GET requests to POST requests.

What is get2post?

get2post is an online utility that takes a URL with query parameters (normally used in GET requests) and redirects it to a POST request.

The main use case is using Chrome's site search functionality for websites that only support POST requests.

How to Use

Simply append your target URL after the hash (#) symbol of the URL https://joliss.github.io/get2post/redirect#, with any POST parameters included as GET parameters. For example:

https://joliss.github.io/get2post/redirect#https://httpbin.org/post?foo=x&bar=y

This will result in a POST request to https://httpbin.org/post, with the foo and bar parameters turned into POST data.

Tip: An easy way to obtain GET URLs for any form is by clicking "Inspect" on any form element and changing the form's method attribute to "get" in the web inspector:

DevTools screenshot: <form method="get" action="/post">

Privacy

get2post doesn't collect any data. Your requests and parameters are kept private because:

Limitations

About this project

This tool was made by Jo Liss and is licensed under the Apache 2.0 License.

If you are using this tool for your own service, I encourage you to host the redirect.html file on your own server for improved security.

You can clone the Git repository at https://github.com/joliss/get2post.