Paste the HTTP request into the text field and get the correspending curl command line for generating such a request.
Command:
The generated command line assumes a HTTPS site and generates such a URL. There is typically nothing in the request that tells if HTTPS or HTTP was used.
If you submit an illegally formatted HTTP request, chances are the shown curl command line might not reproduce it perfectly. curl is primarily made to generate fine HTTP.
Save the HTTP request you want to send in a local file, then send it here like this:
... and you'll get a curl command line in response.
All data you submit to this web service will be crunched and converted on the curl server. To keep your HTTP requests private, download h2c and run it yourself locally.