Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wulieqing opened this issue Sep 4, 2021 · 2 comments

Comments

@wulieqing
Copy link

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.

@jdoconnor
Copy link
Contributor

Thanks for the report. We'll take a look into this

@jdoconnor
Copy link
Contributor

There is a project on our roadmap that we think will address this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants