New: any method, any body

Send POST requests with a link

Built for scripts, bots and every tool that can only fetch a URL.

curl -G https://2post.co/relay --data-urlencode 'url=https://httpbin.org/anything' --data-urlencode 'payload={"hello":"from-a-link"}'

One link in, one real request out

For clients that can only open a link. Free, no account, no key.

Any method

Sends POST, PUT, PATCH or DELETE, whatever the other side expects.

Your headers

Takes custom headers along, so the request looks the way you need it to.

The real answer

Returns what the other side answered. Reaches public http and https addresses.

Try it

Fill in the form and press the button.




Docs

Everything a program needs, in one block of text.

2Post Co: Send POST requests with a link

Put the address and the body in a link and fetch it. This POSTs
{"hello":"from-a-link"} to https://httpbin.org/anything, which answers
with a description of the request it got, and gives you that answer,
status code and headers included:

    https://2post.co/relay?url=https://httpbin.org/anything&payload=%7B%22hello%22%3A%22from-a-link%22%7D

With curl, which does the encoding for you:

    curl -G https://2post.co/relay --data-urlencode 'url=https://httpbin.org/anything' --data-urlencode 'payload={"hello":"from-a-link"}'

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

    https://2post.co/relay?url=https://httpbin.org/anything/7&method=DELETE
    https://2post.co/relay?url=https://httpbin.org/anything/7&method=PUT&payload=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.

Pricing

One plan today.

Free

$0

Everything on this page.

Current plan

Team

TBD

Coming soon

Coming soon

Enterprise

Custom

Coming soon

Coming soon

FAQ

Is it free?

Yes. There is nothing to pay and nothing to sign up for.

Do I need an account?

No. No account and no key: build the link and open it.

What does it send?

The request you wrote into the link, as POST or another method, with the body and headers you gave. You get the other side's answer back.