curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: Why I no longer use Copy as cURL

From: Paul Dewhirst via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 28 Jul 2025 12:41:16 +0100

On Fri 25 Jul 19:46 Paul Gilmartin wrote:

> I imagine no solution short of two coordinated
> enhancement requests:
> To curl:
> a new option, "--URL <url>" which must appear last
> and recognizes no punctuation such as "-" in <url>.
> To Firefox:
> Invoke curl not by pasting something into your
> Command Prompt window, but by such as:
> fork; execlp( "curl" [,options], "--URL <url> );

For curl:
      I still think reading options from a file is safer:
         curl -K curl-options.txt

For Firefox:
      I think most users will want to modify the curl
      command, but invoking curl directly from Firefox
      doesn't allow that.

      Replacing "Copy as cURL" with "Save as cURL"
      without any added escape characters would help.

      Also adding "Save as HAR" without the "all"
      would be useful.

Paul
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-07-28