-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Description
JSON.stringify(data) error when data is byte[]
const response = await fetch(url, {
method: method.toLocaleUpperCase(),
credentials: 'include',
headers: {
'Content-Type': 'application/json'
},
body: data ? JSON.stringify(data) : undefined,
// @ts-ignore
...config
});Expected behavior
request support Blob
Screenshots
Environments (please complete the following information):
- OS: macos
- goctl version 1.7.7
Metadata
Metadata
Assignees
Labels
No labels