Conversor de comandos cURL a código
Convierte comandos cURL en solicitudes HTTP para JavaScript, TypeScript, Python, Java, C#, PHP, Go y Ruby directamente en el navegador.
cURL input and code conversion
Bash, PowerShell, command prompt format pasting and text files are supported.
Input
Entrada directaConvert
0 caracteresAnalysis/conversion results
You can check the request structure read from cURL and notes on conversion.
- HTTP method
- -
- URL
- -
- header
- 0
- Additional information for this feature.
- Ninguno
- Advertencia
- 0
- Confidential information candidate
- 0
Things to check
- There are no warnings.
Acerca de esta herramienta
You can convert cURL obtained from API documentation or developer tools into HTTP client implementations for each language.
Funciones
- JavaScript, TypeScript, Python, Java, C#, PHP, Go, Ruby
- Method, header, JSON/form body, Basic authentication, Cookie
- Backslash in Bash, backtick in PowerShell, caret newline in cmd
- Additional information: Cookie
Cómo utilizarla
- Paste the cURL command or open the file.
- Select
- Press "Convert to code" and check the warning and conversion result.
- Copy
Safety and limitations
- It doesn't run cURL or the generated code. Please check the URL, authentication, and body before using the conversion result.
--insecure, file reference, multipart, and unsupported options are displayed in the confirmation items.- Shell-specific variable expansion, command substitution, and environment variables are not executed and are treated as strings.
- In the initial state, confidential information candidates are replaced with placeholders.
Privacy: Save
Acerca de esta herramienta
You can convert cURL obtained from API documentation or browser developer tools into HTTP client code in the language used for implementation.
Funciones
- JavaScript、TypeScript、Python、Java、C#、PHP、Go、Ruby
- HTTP method, header, JSON/form body, Basic authentication, Cookie
- Multiline format and sensitive value masking in Bash, PowerShell, and Command Prompt
Cómo utilizarla
- Paste cURL commands or select and drop text files.
- Convert
- Review the parsing warnings and potential sensitive information, then copy or save the code.
Limitaciones
- It does not execute cURL and generated code and does not perform any external communication.
- File references, shell variables, command substitutions, and unsupported options require manual adjustment after generation.
- In the initial state, authentication information, cookies, tokens, etc. are replaced with placeholders.
Privacidad: Los archivos seleccionados y los resultados de la conversión o el análisis se procesan en el navegador. No se envían ni se guardan en los servidores de Develop Tools.