Closed harrytran998 closed 2 years ago
This would be awesome!
bump
actually you can, use operations, map, and the file with incremental part name as multipart/form-data request
this is how we use it...
`--X_PAW_BOUNDARY Content-Disposition: form-data; name="operations"
{"operationName":"createPost","variables":{"topic":"Topic","images":[{"image":null}],"tags":["123","321"]},"query":"mutation createPost($topic: String!, $images: [ImageUpload!]!, $tags: [String!]!) {\n createPost(topic: $topic, images: $images, tags: $tags) {\n id\n typename\n }\n}"} --X_PAW_BOUNDARY__ Content-Disposition: form-data; name="map"
{"1":["variables.images.0.image"]} --X_PAW_BOUNDARY Content-Disposition: form-data; name="1"; filename="isaozler_vector.jpg" Content-Type: image/jpeg `
Would be great to have this as a native interface than having to do the operations, map, and file route
Because Paw dont have this feature, our team must switch another Client API![image](https://user-images.githubusercontent.com/24296018/97657219-e50cb380-1a9b-11eb-836d-17998daccc50.png)
Altair GraphlQL Client
. Hope your team work for this!