title: Sending data as key-value pair using fetch polyfill in react-native
body: <p>The following code is to make HTTP POST request with fetch polyfill:</p>
  <pre class="lang-js prettyprint-override"><code>fetch(url, {
    method: 'post',
    body: JSON.stringify({
      token: this.state.token,
    }),
  })
    .then((response) =&gt; response.json())
    .then((responseData) =&gt; {
      console.log(responseData);
    })
    .done();
  
  </code></pre>
  <p>This request sends data as a stringified JSON obj. Is there a way to send data as key-value pair similar to requests? post(URL, data=payload) in python.</p>