Programming · Tool
API Testing Sandbox
Postman in a tab. Fire HTTP requests against any URL straight from your browser — no install, no account, no workspace. The API endpoint validates your request and generates the equivalent cURL command, useful for codegen and CI scripts.
Inputs
methodenumMethod
default "GET" · one of: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
default "GET" · one of: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
urlRequiredstringURL
required · default "https://jsonplaceholder.typicode.com/todos/1"
Full URL including protocol. Query string allowed inline.
required · default "https://jsonplaceholder.typicode.com/todos/1"
Full URL including protocol. Query string allowed inline.
headersarray_stringHeaders
default ["Accept: application/json"]
Each entry as "Key: Value". E.g. "Authorization: Bearer abc123".
default ["Accept: application/json"]
Each entry as "Key: Value". E.g. "Authorization: Bearer abc123".
bodystringRequest Body
default ""
Raw request body. Auto-detected as JSON if it parses.
default ""
Raw request body. Auto-detected as JSON if it parses.
Outputs
methodstringMethod
normalized_urlstringNormalised URL
request_curlstringcURL Equivalent
headers_countintegerHeaders
body_bytesinteger (bytes)Body Size
is_json_bodybooleanJSON Body
hoststringHost
schemestringScheme
Example request
curl -X POST https://toolsamurai.com/api/v1/programming-dev/api-sandbox \ -H "Authorization: Bearer sk_free_•••••••••••••••" \ -H "Content-Type: application/json" \ -d '{ "method": "GET", "url": "https://jsonplaceholder.typicode.com/todos/1", "headers": ["Accept: application/json"], "body": "" }'
Example response
{ "ok": true, "tool": "api-sandbox", "domain": "programming-dev", "version": "1.0.0", "result": { "method": "…", "normalized_url": "…", "request_curl": "…", "headers_count": …, "body_bytes": …, "is_json_body": true, "host": "…", "scheme": "…" }, "meta": { "latency_ms": …, "request_id": "req_…" } }