Skip to content

Commit 4ff70a9

Browse files
Update src/pages/learn/file-uploads.mdx
Co-authored-by: Benjie <[email protected]>
1 parent 12dd906 commit 4ff70a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/learn/file-uploads.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This guide explains why file uploads via GraphQL are problematic and presents sa
77

88
## Why uploads are challenging
99

10-
The [GraphQL specification](https://spec.graphql.org/draft/) is transport-agnostic and assumes requests are encoded as JSON.
10+
The [GraphQL specification](https://spec.graphql.org/draft/) is transport-agnostic and serialization-agnostic (though HTTP and JSON are the most prevalent combination seen in the community).
1111
File uploads, by contrast, require `multipart/form-data` encoding to transfer binary data—something JSON can’t handle.
1212

1313
Supporting uploads over GraphQL usually involves adopting community conventions, like the

0 commit comments

Comments
 (0)