Question: Currently I'm using Altair to upload files (in my case it's just for images) to my GraphQL API. However, all my other routes are stored in postman and it'd be nice if I could use just one application - Postman - for everything.

In Altair I can simply select an image and store that as a variable that I put as the value for my GraphQL Upload field. 

Does anyone know if Postman supports that (or a similiar) feature?

Thank you!

Answer: 
You can use Form-Data to do this.

Key: Operations (this is for the query / mutation )

```
{"query":"mutation updateAvatar($avatar:Upload!) {\n  updateAvatar(avatar: $avatar)\n}"}

```

Key: map ( this is to map the files to your query / mutation )

```
{"0": ["variables.avatar"]}

```

Key: 0 ( upload your image/file etc )

[![postman](https://i.imgur.com/YdXVNsc.png)](https://i.imgur.com/YdXVNsc.png)
Postman was unable to do this, but I found another one called [`Altair`](https://altairgraphql.dev/). See [this](https://www.xkoji.dev/blog/working-with-file-uploads-using-altair-graphql/) blog that describes how to use it for file uploads. You can even see a glimpse of how it is done in the screenshot below:

[![screenshot](https://altairgraphql.dev/assets/img/app-shot.png)](https://altairgraphql.dev/assets/img/app-shot.png)
*Image taken from <https://altairgraphql.dev/>*