2Post Net

Send POST requests from the address bar

Not available for your browseruse the web version below

About this add-on

Works in every browser, because it is a web page. The add-on was only ever a shortcut to it.

Web version

Free, with no account and no key. The notes below are the whole manual.

2Post Net: Send POST requests from the address bar

Put the address and the body in a link and fetch it. This POSTs
{"name":"test"} to https://example.com/api and gives you whatever
example.com answered, status code and headers included:

    https://www.2post.net/proxy?url=https://example.com/api&body=%7B%22name%22%3A%22test%22%7D

With curl, which does the encoding for you:

    curl -G https://www.2post.net/proxy --data-urlencode 'url=https://example.com/api' --data-urlencode 'body={"name":"test"}'

Something other than a POST, or with headers of your own:

    https://www.2post.net/proxy?url=https://example.com/api/7&method=DELETE
    https://www.2post.net/proxy?url=https://example.com/api/7&method=PUT&body=name%3Dnew&headers=%7B%22Authorization%22%3A%22Bearer%20abc%22%7D

headers is a JSON object, here {"Authorization":"Bearer abc"}. A body
that is JSON goes out as application/json, a=1&b=2 as a form, anything
else as text; content_type=... says otherwise. Add response=json to
get the answer wrapped in an object with "status", "headers" and
"body". http and https only. Redirects are followed. No key, no
account.

Example: https://www.2post.net/proxy?url=https://example.com/api&body=%7B%22name%22%3A%22test%22%7D

Try it here




Version

1.4

Last updated

14 June 2011

Licence

Free Use Licence 1.0 (permissive)

Homepage

2post.net (this page)