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
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,12 @@ 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. The GraphQL client must send the file using the Upload type.
47
+
48
+
```
49
+
mutation upload($file: Upload!) {
50
+
upload(file: $file)
51
+
}
52
+
```
47
53
48
54
See [jaydenseric/graphql-multipart-request-spec](https://github.com/jaydenseric/graphql-multipart-request-spec#client) for a list of compatible clients.
0 commit comments