PostGet Co. help and how-to

Help home›Getting started›Send POST, PUT and DELETE from a GET

Send POST, PUT and DELETE from a GET

P
Written by Support
Updated over a year ago

We answer questions here when we can. Most of them are answered by the article below.

PostGet Co. is free and needs no account or key. You put the request into a link, open it with anything that can only do a GET, and we send it on as a POST, PUT, PATCH or DELETE to any public http or https address, custom headers included. Whatever the other side answers comes straight back to you.

How it works

PostGet Co.: Send POST, PUT and DELETE from a GET

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://postget.co/forward?url=https://example.com/api&data=%7B%22name%22%3A%22test%22%7D

With curl, which does the encoding for you:

    curl -G https://postget.co/forward --data-urlencode 'url=https://example.com/api' --data-urlencode 'data={"name":"test"}'

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

    https://postget.co/forward?url=https://example.com/api/7&method=DELETE
    https://postget.co/forward?url=https://example.com/api/7&method=PUT&data=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.

The same request from a terminal: curl -G https://postget.co/forward --data-urlencode 'url=https://example.com/api' --data-urlencode 'data={"name":"test"}'

Try it

Fill in the address and the body, pick a method, and send. The answer opens in this tab.