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.

curl --json has landed

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Fri, 4 Feb 2022 08:35:22 +0100 (CET)

Hello,

Sending JSON with curl just became a lot easier with this option. Try:

$ jo name=daniel tool=curl | curl --json _at_- https://httpbin.org/post | jq

Blog post on --json:

https://daniel.haxx.se/blog/2022/02/02/curl-dash-dash-json/

-- 
  / 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.haxx.se/mail/etiquette.html
Received on 2022-02-04