Tradutor de requisições HTTP
Cole um comando curl e veja-o explicado sinalizador por sinalizador, depois traduzido para fetch, uma requisição HTTP crua, HTTPie e Python requests. Local e offline; o comando é decodificado no seu navegador e nada é enviado ou executado.
Web e HTTPAnalisado localmente no seu navegador. Um comando curl pode conter tokens, cookies ou senhas, então nada do que você cola é enviado a lugar algum nem executado.
The command is tokenized and decoded entirely in your browser, the way a shell reads it: single and double quotes, backslash escapes, line continuations, clustered short flags (-sSL), and attached values (-XPOST). From the parsed request the tool derives both the explanation and every translation. It never sends the request or contacts the host (zero egress). Content-Type is resolved the way curl actually behaves, where -d defaults to application/x-www-form-urlencoded rather than JSON, which is a common source of confusion the tool flags.
- curl: man pageThe command options and their exact behavior
- RFC 9110: HTTP SemanticsMethods, headers, and message semantics
- MDN: Using the Fetch APIThe fetch translation target
- Requests: QuickstartThe Python translation target