Skip to content

post request failed in quip live apps (beta) on quip application whether in ios or in android #300

Description

@wulieqing
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions