You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/file_uploads.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,13 @@ class MyController
43
43
}
44
44
```
45
45
46
-
Of course, you need to use a GraphQL client that is compatible with multipart requests.
46
+
Of course, you need to use a GraphQL client that is compatible with multipart requests. See [jaydenseric/graphql-multipart-request-spec](https://github.com/jaydenseric/graphql-multipart-request-spec#client) for a list of compatible clients.
47
+
48
+
The GraphQL client must send the file using the Upload type.
49
+
50
+
```
51
+
mutation upload($file: Upload!) {
52
+
upload(file: $file)
53
+
}
54
+
```
47
55
48
-
See [jaydenseric/graphql-multipart-request-spec](https://github.com/jaydenseric/graphql-multipart-request-spec#client) for a list of compatible clients.
0 commit comments