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: Feature request: Add 'content' field in -w %{json} output
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: rs _ via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 23 Feb 2022 20:39:15 -0600
> I haven't followed this thread closely, but was there an objection
to piping normal curl output through a json filter?
Are you referring to "piping" the output in curl itself or using an
external program such as jq? I don't think the output of curl -w
'\n%{json}' -D /dev/stdout 'https://example.com' can be read easily
without additional work.
Date: Wed, 23 Feb 2022 20:39:15 -0600
> I haven't followed this thread closely, but was there an objection
to piping normal curl output through a json filter?
Are you referring to "piping" the output in curl itself or using an
external program such as jq? I don't think the output of curl -w
'\n%{json}' -D /dev/stdout 'https://example.com' can be read easily
without additional work.
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-02-24