machinebox / graphql

Simple low-level GraphQL HTTP client for Go
https://blog.machinebox.io/a-graphql-client-library-for-go-5bffd0455878
Apache License 2.0
933 stars 217 forks source link

File Uploading issue using "apollo-server-azure-functions" ("Must provide query string") #57

Closed imathad closed 4 years ago

imathad commented 4 years ago

I have faced some issue after sending the request from the postman

schema : export const types = scalar Upload;

export const queries = ``;

export const mutations = singleUpload(file: Upload!): String!, ;

request : {"query":"mutation SingleUpload($file:Upload!){\n singleUpload(file:$file)\n}"}

result after request: Must provide query string.

please provide me the solution file_upload_gql.pdf