POST Request with Fetch API?
<p>I know that with the new Fetch API (used here with ES2017's <code>async</code>/<code>await</code>) you can make a GET request like this:</p>

<pre><code>async getData() {
    try {
        let response = await fetch('https://example.com/api');
        let responseJson = await response.json();
        console.log(responseJson);
    } catch(error) {
        console.error(error);
    }
}
</code></pre>

<p>But how do you make a POST request?</p>