Changelog #0021 — 📯 Advanced import, GraphQL schema support, and more
Tags: httpie, graphql, postman, insomnia
Published: 2022-12-08 12:25:00

---
published: true
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lrx1ihki8hdgl1kcg9g9.png
title: 'Changelog #0021 — 📯 Advanced import, GraphQL schema support, and more'
description:  'HTTPie for Web & Desktop v2022.16.0 with Postman and Insomnia import and GraphQL improvements.'
tags: httpie, graphql, postman, insomnia
canonical_url: https://httpie.io/blog/changelog-0021
---

Hello, API World! Check out what we shipped in [v2022.16.0](https://github.com/httpie/desktop/releases/tag/v2022.16.0)
of HTTPie for [Web](https://httpie.io/app) & [Desktop](https://httpie.io/product) 👇

## 🔖 Summary
- **📯 [Advanced import](#import-your-postman-and-insomnia-data-to-httpie) –** Migrate your data from Postman and Insomnia.
- **🪄 [GraphQL schema support](#easier-graphql-apis-testing-with-schema-support) –** Auto-complete, validation, and more.
- **✨ [Other improvements](#other-improvements) —** Tweaks and fixes for improved API testing.

## 📯 Import your Postman and Insomnia data to HTTPie

Since our [public beta launch](https://httpie.io/blog/changelog-0017) 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](https://httpie.io/blog/changelog-0017#curl-import)—you can now import entire collections, environments and data dump zips from Postman and Insomnia.

![A graph showing the steep growth of active usage of HTTPie for Web & Desktop](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/flnm8j51uj922ksmq5m1.png)

### 🚀 Migrate to HTTPie in a few simple steps

1. **Export** your data [from Postman](https://httpie.io/r/docs/app/export-from-postman) or [from Insomnia](https://httpie.io/r/docs/app/export-from-insomnia).
2. Open the import dialog (Library → “+” → “Import…”).
3. Drag & drop the exported file and click “Next…”.
4. Select the target space and click “Import.”
5. Done! Welcome to HTTPie 🤗


![A video of importing a zipped data dump from Postman](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3h8c1jm90jlao3hvua4c.gif)

💡 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](https://httpie.io/blog/changelog-0018#support-for-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.

![GraphQL auto-complete and validation in action](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8c66wv79tqspkzibq71a.png)

See auto-complete suggestions as you type, and to invoke the menu manually, press <kbd>⌃Space</kbd>.

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.”

![GraphQL schema loading menu](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ve7un6tr9idnrztdts36.png)

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](https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html) (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](mailto:feedback@httpie.io).
- 📋 You can also help us improve by completing a [quick survey](https://httpie.io/survey).
- 👥 We’re working on collaboration features, and you can [help us out](https://httpie.io/blog/changelog-0019#help-wanted-teams-and-collaboration).
- 👉 Follow [@httpie](https://twitter.com/httpie) and join our [Discord community](https://httpie.io/discord) to stay up to date.
- 👩‍💻 We’re looking for new colleagues in [engineering and other roles](https://httpie.io/jobs).


---

Originally published on [HTTPie blog](https://httpie.io/blog/changelog-0021).