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/rest.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -594,7 +594,7 @@ mutation encryptedPost(
594
594
##### `bodySerializer`
595
595
596
596
If you need to serialize your data differently (say as form-encoded), you can provide a `bodySerializer` instead of relying on the default JSON serialization.
597
-
`bodySerializer` can be either a function of the form `(data: any, headers: Headers) => {body: any, header: Headers}` or a string key. When using the string key
597
+
`bodySerializer` can be either a function of the form `(data: any, headers: Headers) => {body: any, headers: Headers}` or a string key. When using the string key
598
598
`RestLink` will instead use the corresponding serializer from the `bodySerializers` object that can optionally be passed in during initialization.
0 commit comments