Another week, another changelog! Check out what we shipped 👇
HTTPie’s mission is to make APIs simple and intuitive for all those building the tools of our time. And today we got a bit closer to that goal by becoming the first API testing platform with clients for the Web, Desktop, and Terminal.
Now we can finally say that “HTTPie for Web & Desktop” is entirely accurate: the HTTPie for Desktop app is live!
A dedicated desktop app has been the most frequent request from our beta users. And for a good reason: without it, it’s hard to test APIs running on
localhost and behind a firewall. A focused app also serves as a protection against distraction rabbit holes, which are just a bit harder to avoid when working in the browser (as one of our beta users has pointed out).
- Whenever you feel like making a new API request, you can now use the short & sweet
- There’s a new 📣 icon in your left-bottom navigation linking to these changelogs.
- Layout improvements: you can’t see that annoying space at the right anymore, and the scroll works much better, among others.
- You couldn’t send a request with an invalid header name, even if that header was disabled. Now you can.
- The web app was adding some unnecessary headers to outgoing requests. It’s no longer the case.
- The panels resizing feature we shipped last week had some naughty bugs. They’re gone now.
🌲️ Nested JSON support (#1224)
The long-waited nested JSON support just landed! You can now use a new syntax based on the JSON Form notation to rapidly build complex JSON requests.
http --offline --print=B pie.dev/post result[status][type]=ok ids:=1 ids:=2
"result": "status": "type": "ok" , "ids": [ 1, 2 ]
This new syntax is very expressive, and we believe it will save a lot of keystrokes. See more examples in the unstable docs.
— Startup time is now 40% faster. (#1221)
- Are you authenticating with a bearer token? Great news then, bearer token auth is now a built-in method. You can use
-A bearer -a tokento send requests with it. (#1216)
- There are two new operators:
==@for reading query params from a file; and
:@for reading headers from a file. (#1218)
- If any of the response headers include
Content-Type: text/event-stream, then we’ll now auto-stream the response body. (#1226)
- An XML declaration was auto-added to the beginning of each formatted XML response, but not anymore. Now you’ll only see it if it’s already present in the raw response. (#1183)
- 💁🏻♀️ If you’re not on the private beta yet, you can join the waitlist here.
- 👉 You can also follow @httpie and join our Discord community.
Originally published on HTTPie blog.