What is a Curl command?
Curl (Client URL) is a command-line tool used to transfer data to or from a server using various protocols, commonly used for testing REST APIs.
Which curl flags are supported by this tool?
The parser supports request method (-X or --request), headers (-H or --header), payloads (-d, --data, --data-raw, --data-binary), and basic authentication credentials (-u or --user).
How are basic credentials converted?
The credentials username:password are parsed and encoded into a standard Base64 Authorization header, formatted as 'Basic <base64_encoded_string>'.
Does it parse URLs with parameters?
Yes. The tool extracts query parameters directly from the URL and maps them correctly in the target language code template.
Why did my conversion show an empty URL?
Ensure that the curl command contains a valid URL string starting with http://, https://, or a clear host address. Clean any bad quotes or syntax characters.
Are API headers and tokens safe inside this tool?
Absolutely. All parsing and template constructions run locally in JavaScript in your browser. No data is sent to our servers.
Does this tool support file upload curls using -F or --form?
Currently, this tool parses basic text inputs and JSON payloads. If you paste a curl containing file upload parameters (-F), it will map the headers and URL, but you may need to configure the boundary data parameters manually in the generated code.
Can I convert multiline curl commands?
Yes. The parser automatically detects backslash characters (\) used for multiline splits and merges them into a single coherent command string before tokenizing the parameters.
Are cookie headers (-b or --cookie) converted?
Yes. Cookie parameters passed with the -H or -b flag are parsed and added to the headers map in Axios, Fetch, or Python request snippets.
Why is axios output format structured as a configuration object?
Passing a unified options object to Axios (containing method, url, headers, and data fields) is the cleanest and most scalable syntax for making request calls in production applications.