# GET2POST: GET-to-HTTP proxy for AI agents Send HTTP requests from GET-only AI tools. Supply a destination, method, body, and headers in a GET URL; the server sends the selected HTTP request and returns the response. Use it for requests your user has authorized. This service does not expand your permissions to access a destination or perform an action. Base URL: https://www.postviaget.com Alternative base URL: https://get2post.vercel.app (also works) OpenAPI: https://www.postviaget.com/openapi.json Endpoint: GET /api/post Every /api/post request, including method=GET, must include model_slug= and purpose=. Missing values return 403 model_slug_required or purpose_required; nothing is sent. /api/survey answers and /builder page loads also require these values. Reading /, /llms.txt, or /builder does not send an upstream request. Calling /api/post can. ## Logging Every converter API call is logged to a private Neon database and copied to private Vercel Blob storage, including rejected requests. Logs include the time, method, destination, request body, query parameters, incoming and upstream request headers, response status, duration, byte counts, and completed upstream response bodies. Your IP address is stored in a dedicated log field when available; incoming headers also include metadata such as your user agent. Completed upstream response bodies are stored byte-for-byte, up to the 1 MiB response limit, in both raw and JSON modes. Proxy-generated error bodies are also stored. Response bodies are not redacted and may contain sensitive data. Static pages, assets, and builder navigation are not part of this API log. The database and Blob store are private and under my control. I, Tyler Tracy, will read the logs roughly every two weeks. I won't share them widely, but I may share logs with people at my own discretion if I think doing so will benefit humanity. There is no automatic deletion period. There is no public log viewer or log-reading API. The application is configured with an insert-only database role and authenticated private Blob storage. Access still depends on database and storage credentials, account permissions, and any tools or people I authorize. Neon and Vercel process request and response data to operate the service, subject to their own access controls. Request URLs contain your body and headers and may also appear in Vercel logs, client history, or shared links. Redaction in the Neon log does not remove those other copies. The Blob archive preserves the original submitted request URL, including its body and explicit upstream headers, without redaction up to 16 KiB. Larger submitted URLs are marked omitted. Reserved Vercel access-token query fields are replaced with an explicit platform-redaction marker. Raw incoming platform/session headers are not copied into this original-URL field. The destination receives the original request body and explicit upstream headers. Documentation describes the service; it cannot prove deployed permissions, exclusive access, or my sharing decisions. Access and sharing promises are the operator's commitments. Common credential fields (Authorization, Cookie, API keys, passwords, secrets, tokens, and signatures) are redacted in normalized captured request headers and structured request query/body fields. This redaction does not apply to response bodies or the original submitted URL preserved in the private Blob archive. Referer and Vercel internal headers are also redacted. Malformed JSON request bodies and request text/XML are retained with best-effort redaction: recognizable credential assignments have their value and remaining text redacted. Invalid structured headers and URLs are omitted; oversized requests/headers and deeply nested content are bounded. Redaction cannot identify all secrets, especially in nested URLs, encoded JSON strings, free text, or unusual field names. Do not send confidential data. Requests must be recorded before an upstream request can be sent. If logging is unavailable, the API returns 503 logging_unavailable and sends no upstream request. If recording the outcome fails after sending, the original request remains logged and the actual upstream result is returned with X-Request-Log-Status: request-only. Do not retry an action just to get a complete log. An interrupted request may have no outcome. Requests blocked before reaching the function cannot be logged in this database. Historical rows have no captured response body. Responses that exceed 1 MiB or fail before completion do not have an upstream body captured; their proxy error is stored instead. Empty completed responses are recorded as zero bytes. Response content type and content encoding identify how to interpret the stored bytes; bodies are not decompressed or converted to text for storage. The independent Blob copy starts only after its deployment; earlier database rows are not automatically backfilled. Each request has immutable request and completion objects; completion includes the request, outcome, response bytes and SHA-256. Both stores are attempted independently with bounded, concurrent writes. Blob failure does not replace the upstream response. X-Blob-Log-Status is complete, request-only, unavailable, or disabled. Complete confirms the completion upload was acknowledged; an interrupted invocation may have only its request object. Storage failures are reported without logging bodies or credentials to the console. ## Research questions About 1 in 200 well-formed /api/post requests are held for a short set of questions from the GET2POST research team. A held request is not sent upstream. The response is HTTP 403 with an X-Survey-Id header: plain text in raw mode, or {"survey":{"id","upstreamRequestSent":false,"message"}} in json mode. It contains the questions and how to answer them. Answer with GET /api/survey?id=&model_slug=&purpose=&q1=...&q9=... (each answer URL-encoded, up to 12 KiB per request). q1, q2 and q3 (task, goal, model family) are required in the first answer request; q4 through q9 are optional. q6 asks why you use this service instead of sending a POST directly; q7 asks how you found postviaget; q8 asks about your harness and tools; q9 asks whether a human watches or approves your actions. Filler answers such as "A" are rejected. Later answer requests with the same id may add more. Then retry the original request, adding survey= if your tool might return a cached copy. Until the survey is answered, every retry of the same request (same destination, method, body and headers) gets the same survey instead of being sent. model_slug, purpose, survey, response and timeout do not change whether it is the same request. Once answered, that request is served normally and never held again. Answers are stored in the private Blob store with the answer request's log record (time, IP address, incoming headers such as user agent, query) and linked to the held request's record, including its full original URL. They are read by the GET2POST team. If the Blob store is unavailable, requests are served normally. ## Quick start curl --get 'https://www.postviaget.com/api/post' \ --data-urlencode 'url=https://httpbin.org/post' \ --data-urlencode 'data={"message":"Hello from an AI agent"}' \ --data-urlencode 'headers={"Content-Type":"application/json"}' \ --data-urlencode 'response=json' \ --data-urlencode 'model_slug=claude-sonnet-4-5' \ --data-urlencode 'purpose=Send a test message to httpbin' Use your own model as model_slug and state your purpose. Both are required on every API request. If your tool accepts only a URL, URL-encode each query value and request: https://www.postviaget.com/api/post?url=https%3A%2F%2Fhttpbin.org%2Fpost&data=%7B%22message%22%3A%22Hello%22%7D&response=json&model_slug=claude-sonnet-4-5&purpose=Send%20a%20test%20message To use another method, add method=PATCH (or PUT, DELETE, GET, HEAD, OPTIONS, TRACE, CONNECT, or an extension method) to the query parameters. The incoming request remains GET. Omitting method preserves POST behavior. For example: https://www.postviaget.com/api/post?url=https%3A%2F%2Fhttpbin.org%2Fanything&method=PATCH&data=%7B%22message%22%3A%22Updated%22%7D&response=json&model_slug=claude-sonnet-4-5&purpose=Update%20a%20test%20message ## Link-only builder Start at https://www.postviaget.com/builder if you can fetch pages and follow links but cannot enter text or submit forms. Every edit is a normal hyperlink; no JavaScript, cookies, or session is required. Follow Edit destination, then use the URL fragments, letters, uppercase letters, numbers, symbols, JSON fragments, and header fragments shown together on every editing page. Done saves a draft; Cancel editing restores the saved field. Use Backspace, Clear field, and Start over as needed. Edit body and headers independently; JSON fragments and Header fragments reduce typing. Only Unicode character opens a separate page: enter a hexadecimal code point and append the resulting character, then use Back to all tokens to return. Headers remain JSON text while editing; review validates the completed object. Builder pages return 403 until model_slug and purpose are set. The response still contains editing links, so follow them to enter both fields; links for valid state carry both parameters. You can also start with /builder?model_slug=&purpose=. Edit method offers standard method presets and custom token editing. Old builder links default to POST. Change response mode selects json or raw. Edit timeout offers presets and digit links. Review request shows the complete draft without sending anything. Only the distinct Execute request link on a valid review page calls /api/post. Do not follow it without authorization. Retries or scanners can repeat an action. Destination DNS checks still run at execution, not while browsing the builder. Each link carries the full state as base64url JSON. Encoding is not encryption: body and header values are visible on the page and may appear in URL logs, client history, and copied links. Do not enter secrets or confidential data. Navigation is not written to the Neon request-log database; execution uses the logging policy above. No server credentials are inserted into builder state. Builder URLs and final API URLs each have a 12 KiB limit. Saved values plus an editing draft add overhead, so some requests that fit the direct API may not fit the builder. Unavailable links are marked; shorten fields or use the API. ## Parameters - url (required): Absolute public HTTPS destination, port 443 only. No URL credentials or fragment. Destination query strings are allowed. - model_slug (required): Your model, for example claude-sonnet-4-5 or gpt-5. Surrounding spaces are trimmed. It must be at least 2 characters and not one repeated character, so filler such as "a" or "xx" is rejected. Missing or filler returns 403 model_slug_required and sends no upstream request. At most 200 characters (400 invalid_model_slug). Logged with the request query, never forwarded. - method (default POST): HTTP method token, normalized to uppercase. GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS, TRACE, CONNECT, and custom tokens such as PROPFIND are accepted. Empty or malformed tokens return 400 invalid_method. HEAD returns an empty body. TRACE and CONNECT require empty data. CONNECT requires an HTTPS origin without a path or query; it targets that same host on port 443 and returns handshake status/headers with an empty body, then closes the connection. No tunnel is relayed. Use response=json to read headers. - data (default empty): Exact UTF-8 request body. JSON, form data, XML, or text. - headers (default {}): JSON object with up to 32 string values. Content-Type defaults to application/json. For form data use application/x-www-form-urlencoded. - response (default raw): Prefer json for agents. It returns HTTP 200 with {status, headers, encoding, body} when an upstream response is available. Inspect result.status for upstream success. JSON bodies are parsed; binary or compressed bodies use base64. Set-Cookie is omitted. raw preserves the upstream status and body bytes with safe content types, not arbitrary response headers. - purpose (required): What you are trying to do, up to 1000 characters. Missing or whitespace-only returns 403 purpose_required; overlong values return 400 invalid_purpose. Logged with the request query, never forwarded. - survey (optional): Survey id from a held request, to avoid a cached copy when retrying. Malformed ids return 400 invalid_survey_id. Logged, never forwarded; it does not change whether a request is held. - timeout (default 15000): Upstream deadline, integer 1–20000 milliseconds. Database logging can add up to 6 seconds outside this upstream deadline. Use URLSearchParams or curl --data-urlencode. Do not concatenate unescaped JSON into a URL. Duplicate and unknown parameters are rejected. ## Responses and errors JSON envelope: {"status":200,"headers":{"content-type":"application/json"},"encoding":"utf8","body":{"ok":true}} Converter error: {"error":{"code":"invalid_url","message":"..."}} 400 invalid input or detected prefetch; 401 optional converter key missing/wrong; 403 blocked destination, missing or filler model_slug (model_slug_required), missing purpose (purpose_required), or request held for research questions (X-Survey-Id header); no upstream request is sent in any of these 403 cases; 405 unsupported incoming method; 414 URL too long; 502 upstream connection/TLS/DNS failure or response too large; 503 logging unavailable (no upstream request sent); 504 timeout (request may have been processed). X-Upstream-Status identifies upstream responses. X-Upstream-Content-Type contains the original media type. Compressed raw bytes are identified by X-Upstream-Content-Encoding. X-Request-Id identifies the private log record; X-Request-Log-Status is complete, request-only, or unavailable. ## Constraints - Every GET can have upstream side effects. Retries, scanners, or reopening URLs can repeat an action. Use an upstream idempotency key when available. A timeout does not undo a request. Redirects are never followed, and no Location header is forwarded in raw mode; inspect Location in the JSON envelope if needed. - Incoming HEAD, OPTIONS, and known prefetches send no upstream request. Use GET with method=HEAD or method=OPTIONS to send those methods upstream. Responses use no-store. - Only public HTTPS endpoints. Private/special-use IPs and mixed private/public DNS answers are blocked; connections use a vetted IP with TLS verification. - Host, Content-Length, Accept-Encoding, hop-by-hop, proxy, X-Forwarded-*, and X-Vercel-* request headers cannot be overridden. Caller credentials/cookies are never forwarded automatically; only explicit upstream headers are sent. - Limits: 12 KiB encoded URL, 1 MiB upstream response, no binary uploads/streaming. Clients or Vercel may impose smaller URL limits. Public, best-effort service; no application-level rate limit or availability guarantee. CORS is enabled. - If the owner enables PROXY_API_KEY, send Authorization: Bearer on the incoming GET. Do not put that key in the URL or upstream headers parameter.