cURL to add native JSON support

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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, TFTP, WS and WSS. libcurl offers a myriad of powerful features

  • The --jp (json part) command line option, described at https://github.com/curl/curl/wiki/JSON, 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.

    [0] https://github.com/ducaale/xh

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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 ] https://github.com/rs/curlie

  • 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!

    [1] https://github.com/Orange-OpenSource/hurl

  • httpie

    🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)

  • 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 https://github.com/httpie/httpie/issues/692

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

  • hurl

    http(s)+h2 server load tester (by Edgio)

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

  • Show HN: Hair – An HTTP client made in Rust

    2 projects | news.ycombinator.com | 2 Jun 2022
  • cURL to add native JSON support

    8 projects | /r/programming | 20 Jan 2022
  • Show HN: Hurl – Run and test HTTP requests with plain text, curl and Rust

    4 projects | news.ycombinator.com | 5 Oct 2021
  • Ask HN: Python library for robust URL retrieval with workaround strategies?

    1 project | news.ycombinator.com | 17 Mar 2024
  • Curl is now a CVE Numbering Authority

    1 project | news.ycombinator.com | 18 Jan 2024