postFetch(path: string, payload: any = {}) {
return fetch(path, {
mode: "cors",
body: JSON.stringify(payload),
method: 'POST',
headers: {
Authorization: `Bearer ${this.authorization}`,
"Content-Type": "application/json"
}
}).then(response => response.json())
}
In the quip application, I encountered this error: Required request body is missing: xxx, but it works well in the browser.
In the quip application, I encountered this error: Required request body is missing: xxx, but it works well in the browser.