cURL to add native JSON support

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • libcurl

    A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features

    The --jp (json part) command line option, described at, has "anti-pattern" written all over it to me. Why introduce some specific, curl-only wonky-ish version of JSON? Is this any easier to remember than normal JSON? I mean, right now, I use cURL all the time with JSON posts, just doing something like

    -d '{ "foo": "bar", "zed": "yow" }'

    The proposed --jp flag seems worse to me in every way.

    (Note I do like the --json as just syntactic sugar for -H "Accept: application/json" -d )

  • ht

    Friendly and fast tool for sending HTTP requests

    I have recently been trying a port of HTTPie in Rust, xh [0] (which is needlessly hard to find in a websearch). I am a Python guy, but love having single executable tools.


  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • curlie

    The power of curl, the ease of use of httpie.

    Check out curlie[0] which is really great and already does this. It's essentially a wrapper for curl with JSON support.

    [ 0 ]

  • hurl

    Hurl, run and test HTTP requests with plain text.

    Under the hood, we use libcurl and a Rust binding. The HTTP engine is curl because curl is awesome!


  • httpie

    As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Happy to hear about xh, thanks for mentioning it. I recently ran into a problem where HTTPie didn't support HTTP/2, so I had to fall back to cURL. The ticket for HTTP/2 in HTTPie is still open

    Happy to see that xh supports HTTP/2 out of the box.

  • hurl

    HTTP server load test and parallel curl utilities (by EdgeCast)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts