HTTP from the browser shell

This experimental copy enables real curl requests. The model and shell run on your device. Requests go directly from your browser to the destination; there is no proxy. Request URLs, headers, and bodies are sent to that service.

Any HTTPS URL is allowed, including GitHub Gists; there is no host allowlist. The destination must still permit browser access with CORS. GET, HEAD, and POST are enabled. Cookies are omitted. Requests have an 8-second deadline and a 1 MiB response limit.

Try in Shell

curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json
jq '{id, title, completed}' todo.json
set -o pipefail
curl -fsS https://api.github.com/repos/huggingface/transformers.js | jq '{full_name, stargazers_count}'

Ask Pi

“Fetch https://jsonplaceholder.typicode.com/todos/1, save it as todo.json, and tell me its title and whether it is completed.”

The destination must allow browser access with CORS. Redirects are reported as errors: use the final URL directly, with the exact capitalization. A plain curl pipeline can hide an error unless you enable set -o pipefail. Python, Node.js, npm, and native binaries remain unavailable.

Back to the workspace · Original Space