curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: Printing the URL in the error messages when --fail is passed?

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 24 Jul 2022 15:58:34 +0200 (CEST)

On Sun, 24 Jul 2022, Bhavin Gandhi via curl-users wrote:

> Is there any other command line option which can help here? I was not
> able to find anything relevant in the manual as well as on the Internet
> after a few searches.

-w is your friend.

I blogged about it to some length a while ago:

   https://daniel.haxx.se/blog/2021/01/27/curl-your-own-error-message/

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-07-24