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: 
Answer from @Brad Larson is correct. But contains a typo:

You should have `{"0":["variables.file"]}` instead of `"[variables.file]"`

(Sorry I don't have enough reputation to comment)
I ran into this issue using `graphene-file-upload==1.2.2` as the upload handler and found it extremely complex to prepare the correct payload as the request included additional parameters to the upload file, so I hope this helps:[![enter image description here](https://i.stack.imgur.com/0tOsb.png)](https://i.stack.imgur.com/0tOsb.png)

This is the `curl` equivalent request for reference:

```
curl --location --request POST '<REDACTED>/graphql' \
--header 'Authorization: Bearer <REDACTED>' \
--form '0=@"/home/user/Downloads/Five.pdf"' \
--form 'map="{\"0\": [\"variables.data.attachments\"]}"' \
--form 'operations="{
    \"query\": \"mutation AddPOAttachments($data: AddProductAttachmentsInput!) { add_product_attachments(data: $data) { attachments { id url purpose file_info { name type size_in_bytes} __typename } __typename }}\",
    \"variables\":
    {
        \"data\":
        {
            \"sku\": \"123456sku\",
            \"attachments\": null,
            \"purpose\": \"Test\"
        }
    }
}"'

```