code: function request(url, payload) {
    return fetch(url, {
      headers: {
        'content-type': 'application/json',
      },
      method: 'POST',
      timeout: 1000,
      body: JSON.stringify(payload),
    })
      .then((response) => response.json())
      .then(() => BbPromise.resolve())
      .catch(() => BbPromise.resolve());
  }
docs: /* note segment call swallows errors