Hey, API World! Take a look at what we shipped in v2022.16.0
of HTTPie for Webย &ย Desktop ๐
๐ Abstract
๐ฏ Import your Postman and Insomnia knowledge to HTTPie
Since our public beta launch just a few months in the past, the adoption of HTTPie for Net & Desktop has been rising. A lot of our new customers have migrated from different API testing shoppers like Postman and Insomnia, they usuallyโve been asking for a smoother migration path.
So on this launch, we centered on streamlining the migration course of, andโalong with the prevailingย cURL importโnow you can import complete collections, environments and knowledge dump zips from Postman and Insomnia.
๐ Migrate to HTTPie in just a few easy steps
- Export your knowledge from Postman or from Insomnia.
- Open the import dialog (Library โ โ+โ โ โImportโฆโ).
- Drag & drop the exported file and click on โSubsequentโฆโ.
- Choose the goal house and click on โImport.โ
- Achieved! Welcome to HTTPie ๐ค
๐ก Tip: Create a brand new house throughout the import to maintain issues tidy.
๐ Import compatibility
Right hereโs an outline of what parts HTTPie at present imports from Postman and Insomnia and the way. As we regularly add new options to HTTPie, weโll proceed to enhance the import as properly.
๐ซ๏ธ Importing requests
Request component | Imported? | Notes |
---|---|---|
HTTP Requests | โ | |
GraphQL requests | โ | |
gRPC requests | โ | |
WebSockets | โ | |
Request methodology | โ | Together with customized ones. |
Request URL | โ | |
URL parameters | โ | |
Headers | โ | |
Auth | โ | Primary, bearer, API key, and inherited auth. |
Physique | โ | Textual content, uncooked, JSON, and kind request our bodies. |
Physique information | โ |
๐ฑ๏ธ Importing containers
Container | Imported? | Notes |
---|---|---|
Collections | โ | See assortment variables under. |
Sub-folders | โ | Folder hierarchy is preserved as breadcrumbs in request names. |
๐ผ๏ธ๏ธ Importing environments & variables
Ingredient | Imported? | Notes |
---|---|---|
Environments | โ | |
Default variables | โ | |
Assortment variables | โ | We transfer non-global variables to the house stage and refactor names and references to make sure uniqueness. |
๐ง Importing different parts
Different component | Imported? | Notes |
---|---|---|
Scripting | โ | Pre-request scripts, checks, and dynamic tags. |
Meta knowledge | โ | Schemas, documentation, area descriptions, and response examples. |
Customized settings | โ | |
Cookies | โ |
๐ช Simpler GraphQL APIs testing with schema assist
When speaking to GraphQL APIs, HTTPie will robotically fetch the schema from the server. Which means the app is now conscious of all of the obtainable queries, mutations, and the hierarchy of varieties, which permits us to spice up your productiveness with auto-complete and validation.
See auto-complete solutions as you kind, and to invoke the menu manually, press โHouse.
HTTPie auto-fetches the schema utilizing the present requestโs URL and authentication. To refresh the schema, choose โReplace from serverโ from the brand new โSchemaโ menu. And to disable schema for a specific tab, uncheck โAuto-apply schema.โ
Along with schema assist, the GraphQL shopper now comes with code folding and different quality-of-life enhancements.
โจ Different enhancements
- Improved cURL import with assist for ANSI-C quoting shell syntax (e.g.,
$'string'
). This syntax is utilized by Chrome DevTools when exporting a request that features a physique as cURL, amongst others. - HTTPie for Desktop now remembers the window’s place. This manner, you do not have to maneuver it each time you launch it.
- On HTTPie for Home windows, the title bar colour now respects the system.
- The request definition tables now not soar when switching tabs.
- Weโve added error boundaries to tabs and different elements for extra sturdy exception dealing with and restoration.
- The textual content search had some points with very lengthy strains. Now itโs fastened.
- Spelling and autocorrect within the filter area is now disabled.
๐คฉ Joyful API testing, and see you once more quickly!
Initially revealed on HTTPie blog.