Hello, API World! Check out what we shipped in v2022.16.0
of HTTPie for WebΒ &Β Desktop π
π Summary
- π― Advanced import β Migrate your data from Postman and Insomnia.
- πͺ GraphQL schema support β Auto-complete, validation, and more.
- β¨ Other improvements β Tweaks and fixes for improved API testing.
π― Import your Postman and Insomnia data to HTTPie
Since our public beta launch a few months ago, the adoption of HTTPie for Web & Desktop has been growing. Many of our new users have migrated from other API testing clients like Postman and Insomnia, and theyβve been asking for a smoother migration path.
So in this release, we focused on streamlining the migration process, andβin addition to the existingΒ cURL importβyou can now import entire collections, environments and data dump zips from Postman and Insomnia.
π Migrate to HTTPie in a few simple steps
- Export your data from Postman or from Insomnia.
- Open the import dialog (Library β β+β β βImportβ¦β).
- Drag & drop the exported file and click βNextβ¦β.
- Select the target space and click βImport.β
- Done! Welcome to HTTPie π€
π‘ Tip: Create a new space during the import to keep things tidy.
π Import compatibility
Hereβs an overview of what elements HTTPie currently imports from Postman and Insomnia and how. As we gradually add new features to HTTPie, weβll continue to improve the import as well.
π«οΈ Importing requests
Request element | Imported? | Notes |
---|---|---|
HTTP Requests | β | |
GraphQL requests | β | |
gRPC requests | β | |
WebSockets | β | |
Request method | β | Including custom ones. |
Request URL | β | |
URL parameters | β | |
Headers | β | |
Auth | β | Basic, bearer, API key, and inherited auth. |
Body | β | Text, raw, JSON, and form request bodies. |
Body files | β |
π±οΈ Importing containers
Container | Imported? | Notes |
---|---|---|
Collections | β | See collection variables below. |
Sub-folders | β | Folder hierarchy is preserved as breadcrumbs in request names. |
πΌοΈοΈ Importing environments & variables
Element | Imported? | Notes |
---|---|---|
Environments | β | |
Default variables | β | |
Collection variables | β | We move non-global variables to the space level and refactor names and references to ensure uniqueness. |
π§ Importing other elements
Other element | Imported? | Notes |
---|---|---|
Scripting | β | Pre-request scripts, tests, and dynamic tags. |
Meta data | β | Schemas, documentation, field descriptions, and response examples. |
Custom settings | β | |
Cookies | β |
πͺ Easier GraphQL APIs testing with schema support
When talking to GraphQL APIs, HTTPie will automatically fetch the schema from the server. That means the app is now aware of all the available queries, mutations, and the hierarchy of types, which allows us to boost your productivity with auto-complete and validation.
See auto-complete suggestions as you type, and to invoke the menu manually, press βSpace.
HTTPie auto-fetches the schema using the current requestβs URL and authentication. To refresh the schema, select βUpdate from serverβ from the new βSchemaβ menu. And to disable schema for a particular tab, uncheck βAuto-apply schema.β
In addition to schema support, the GraphQL client now comes with code folding and other quality-of-life improvements.
β¨ Other improvements
- Improved cURL import with support for ANSI-C quoting shell syntax (e.g.,
$'string'
). This syntax is used by Chrome DevTools when exporting a request that includes a body as cURL, among others. - HTTPie for Desktop now remembers the window's position. This way, you don't have to move it every time you launch it.
- On HTTPie for Windows, the title bar color now respects the system.
- The request definition tables no longer jump when switching tabs.
- Weβve added error boundaries to tabs and other components for more robust exception handling and recovery.
- The text search had some issues with very long lines. Now itβs fixed.
- Spelling and autocorrect in the filter field is now disabled.
π€© Happy API testing, and see you again soon!
- βοΈ Thoughts? Questions? Shoot us an email at feedback@httpie.io.
- π You can also help us improve by completing a quick survey.
- π₯ Weβre working on collaboration features, and you can help us out.
- π Follow @httpie and join our Discord community to stay up to date.
- π©βπ» Weβre looking for new colleagues in engineering and other roles.
Originally published on HTTPie blog.
Top comments (0)