Want to Contribute to us or want to have 15k+ Audience read your Article ? Or Just want to make a strong Backlink?

Changelog #0021 โ€” ๐Ÿ“ฏ Advanced import, GraphQL schema support, and more

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

  1. Export your knowledge from Postman or from Insomnia.
  2. Open the import dialog (Library โ†’ โ€œ+โ€ โ†’ โ€œImportโ€ฆโ€).
  3. Drag & drop the exported file and click on โ€œSubsequentโ€ฆโ€.
  4. Choose the goal house and click on โ€œImport.โ€
  5. Achieved! Welcome to HTTPie ๐Ÿค—

A video of importing a zipped data dump from Postman

๐Ÿ’ก 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.

GraphQL auto-complete and validation in action

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.โ€

GraphQL schema loading menu

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.

Add a Comment

Your email address will not be published. Required fields are marked *

Want to Contribute to us or want to have 15k+ Audience read your Article ? Or Just want to make a strong Backlink?