HTTPie is on a mission to make APIs easy and intuitive for all these constructing the instruments of our time. And immediately, we’re thrilled to announce the most important launch but and a big step in that path. Take a look at what’s new 👇
- 🔓 Public beta — HTTPie Net & Desktop is now publicly obtainable 🎉
- 🕵️♀️ Incognito mode — Now you can use the app with out an account.
- ☁️ Real-time sync — Your information is now real-time synchronized throughout gadgets.
- ⬆️ Auto-updates — A reworked, extra clear system for updates.
- 💲 Variables — Work smarter and don’t repeat your self.
- 🏞️ Environments — A fast method to swap between contexts.
- 🌊 cURL import — A humble however environment friendly begin of our import system.
- 🔒 SSL verification — Now you can flip off certificates validation.
- 📱 Mobile — Now it’s simpler than ever to work on contact gadgets.
- ✨ Other improvements — Numerous adjustments to enhance your expertise.
- 🪲 Bug fixes — Hopefully, we caught them earlier than you seen.
- 🔮 What’s next? — A glimpse into the longer term.
After months of improvement, testing, and accumulating suggestions in personal beta, we’re opening HTTPie for Net & Desktop to everybody immediately 🚀
Because the launch of the Terminal app ten years in the past, an enthusiastic group has been forming round HTTPie. After we introduced HTTPie for Net & Desktop, the curiosity exceeded our expectations, and our waitlist began to refill. We opened up a non-public beta program and invited 1000’s of beta customers to whom we couldn’t be extra grateful.
We have been submerged in a whole bunch of thoughtfully answered surveys, messages in our rising Discord community, emails, GitHub points, and Twitter DMs, and we appreciated each single one!
All that suggestions has translated into enhancements and options, like those included on this launch and plenty of extra on our roadmap.
In return, HTTPie swag has discovered its means all around the globe 💫
Now that the personal beta fence now not exists, the account-required wall might be torn down too. And that’s precisely what we’ve accomplished.
Now you can use the app with out an account. When you’re not logged in—whenever you’re incognito—you continue to have entry to all options other than sync and creating new areas. If you determine to log in or join, we sync your incognito house into your account, and you may proceed to work uninterrupted. Simple!
Sync is lastly right here. So long as you aren’t incognito, your information is backed as much as our safe cloud and synchronized throughout your gadgets. If you change one thing, it’s immediately up to date in your different shoppers.
Begin working within the Net app, swap to the Desktop app, and test some request particulars in your cellphone later. And also you don’t have to fret about hitting save as a result of we repeatedly auto-save your work.
You is perhaps questioning crucial query of all, can I nonetheless take a look at my native API on a aircraft journey if I must? Positive factor! HTTPie works offline-first. When your pc is offline (or our cloud is briefly down), you’ll be able to proceed to work as standard. We’ll merely resume syncing as soon as the connection has been restored. To see the present sync standing, try your account menu:
All synced information is encrypted at transit between the HTTPie cloud and shoppers (SSL) and at relaxation in a backed-up AWS RDS storage with redundancy (AES). All delicate information—your requests, auth credentials, variables, and so on.—are moreover encrypted on the server-side earlier than storage and decrypted on consumer entry (AES).
Now you can test for updates and see the app replace standing straight within the account menu. This makes it simple so that you can have the best and newest model of HTTPie at all times put in.
We repeatedly enhance the app and launch frequent updates with new options and bug fixes. The desktop app downloads new variations robotically, regardless that you don’t have to put in them instantly.
The auto-update system is built-in with sync, and the replace standing within the menu will let you know when an replace is required to keep up compatibility with the HTTPie cloud.
Variables have been among the many most requested options by our personal beta customers. And we agree. In the case of constructing requests in a clear, don’t-repeat-yourself means, variables are a game-changer. So right here they’re!
Outline variables inside the present house’s element tab. Then you’ll be able to reference them from any request or assortment throughout the house by way of
It’s usually useful to evaluate the total HTTP request with variables already substituted earlier than sending it. To try this, maintain the Preview panel open.
For those who reference a variable that doesn’t exist, we mark the reference crimson and stop the request from being despatched till the variable is asserted. This fashion, you by no means should take care of complicated outcomes.
Mark a variable as secret, and we’ll masks its values within the variable checklist so that you simply don’t by chance share them on a Zoom name, for instance.
See local-only environments beneath for different superior methods to take care of delicate variables.
Environments assist you to rapidly swap between completely different contexts. A standard follow is to have an API operating in numerous environments—in your native machine, in staging, in manufacturing, and so on.
Think about you must discuss to the identical API in manufacturing but in addition in a staging surroundings. The requests are the identical, however the root URL and auth, for instance, differ. You’ll be able to flip these values into variables, so it’s simpler to alter them. And with environments, you’ll be able to immediately toggle between completely different values for these variables:
You’ll be able to create as many environments as you want and swap between them utilizing the menu on the high proper of the app.
An surroundings is a named set of variable values. Within the desk, rows symbolize variables, columns symbolize environments, and interior cells are particular values for a variable in a particular surroundings. So when you declare a variable, it exists in each surroundings within the house (probably with differing or empty values).
Each house begins with an empty surroundings referred to as “Defaults.” It really works as an everyday surroundings, and for easy use-cases, you’ll be able to simply use it completely.
If you create extra environments, they use values from Defaults for variables the place you don’t explicitly specify a customized worth. For those who don’t want a default worth for a variable, you’ll be able to merely depart its worth in Defaults empty.
If you wish to forestall some information from syncing to the HTTPie cloud and throughout your gadgets, you’ll be able to retailer it as values in a local-only surroundings.
When creating an surroundings, choose the choice to create a local-only one, and its values won’t ever depart your gadget.
In some conditions, you may wish to briefly forestall requests from accessing your variables altogether. By choosing the “No surroundings” choice, you’ll be able to obtain simply that:
At the moment, this selection is most helpful in terms of debugging your requests. However as a result of variables can comprise delicate information, the significance of this characteristic will develop as we proceed so as to add varied import and sharing mechanisms.
We’re engaged on a sturdy import mechanism, which can ultimately help many superior import sources. However already immediately, you’ll be able to import cURL instructions as requests into your HTTPie library:
This lets you rapidly import cURL calls from scripts or import requests from Chrome DevTools. Discover the “Import…” choice beneath the
+ menu in your house library.
There’s additionally a fast hidden shortcut for importing cURL. Are you able to guess the place?
Simply paste a cURL command into the URL area and see what occurs 👀
It is a smaller characteristic, however a lot of our personal beta customers have been ready for it, and we’re joyful to lastly ship it. By default, we confirm the server SSL certificates and reject self-signed, expired, and non-matching certificates. Now you’ll be able to disable this validation within the settings:
If you run into an SSL error and want to briefly enable invalid certificates, you are able to do that straight from the response view:
Flip it on once more from the settings whenever you’re completed.
We’ve additionally centered on streamlining our cellular expertise. The app is 100% responsive (each Net and Desktop), and you need to use all options on contact gadgets as effectively.
Cellular-friendliness is a kind of options that you simply don’t want more often than not. However whenever you want it, you actually want it. And with HTTPie, you will get work accomplished comfortably from wherever, anytime.
- The cellular expertise of the URL bar part is far improved.
- Now you can use the Preview & Export characteristic on small screens.
- Keyboards are actually contextual.
- Spacing is extra compact and comfy on small gadgets.
- Now you can entry tooltips on contact gadgets.
- The physique sort and auth sort selectors now have icons. As they are saying, an icon is value a thousand labels.
- Error badges are actually extra minimal, much less clunky, and extra on model.
- It’s been some time since we expanded the icon set for areas and collections. Now you could have eight crisp new icons to select from. Test them out!
- The sunshine mode beforehand acquired much less love than the darkish one. So we improved it. What do you suppose? Can you notice all of the variations?
- Placeholders now look extra like placeholders.
- Now you see a loading indicator when the app is launching.
- The monospaced font now helps non-Latin characters.
- Textual content choice is now disabled for all UI components whereas holding content material selectable.
- Within the desktop app, you’ll be able to maximize and un-maximize the window by double-clicking the title bar.
- You may also drag the window utilizing the left toolbar, the place your profile picture resides.
- If you renamed a draft, it might change its auth to inherited, as if it was added to a group. Mounted.
This launch marks an essential milestone on our journey to offer one of the best expertise to anybody working with APIs.
With HTTPie, you’ll be able to work on APIs with or with out an account. When you are on-line or offline. In a devoted cross-platform desktop app, within the browser, within the terminal, and even in your cellphone. Your information is auto-saved and synchronized throughout gadgets. You’ll be able to set up your work in areas and collections, parametrize requests with variables and environments, work on many issues concurrently with our tabbed system, and preview requests earlier than sending them. These and plenty of different options can be found immediately, wrapped in what we goal to be a pleasant, human-centered interface.
There’s nonetheless a number of work to completely unlock the potential of APIs, and our roadmap is filled with bold milestones. Right here’s a pattern of the themes we’re specializing in subsequent:
- 👥 Workforce collaboration
- ⚙️ Further protocols and codecs
- ⚡ Automation and testing
- 🔗 Full interoperability with HTTPie for Terminal
- 🎹 Develop into a keyboard-first app
- 🎉 Refreshed web site
Initially printed on HTTPie blog.