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)
The above solution didn't work for me but helped as a base.

I've inspected other GraphQL server requests in my browser and tried emulating them.

This is how it works for me:

[![Postman screenshot](https://i.stack.imgur.com/mETkj.png)](https://i.stack.imgur.com/mETkj.png)

My server runs Django with Graphene, the difference may be there (?) I guess