title: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body
body: <p>Getting my API data via Postman works fine but when running following code in my js application I get an error:  <code>Request with GET/HEAD method cannot have body.</code></p>
  <pre><code>var myHeaders = new Headers();
  myHeaders.append(&quot;Authorization&quot;, &quot;Bearer mybearertoken&quot;);
  
  var formdata = new FormData();
  formdata.append(&quot;Id&quot;, &quot;56afb645-6084-4129-6469-08d91f4770af&quot;);
  
  var requestOptions = {
    method: 'GET',
    headers: myHeaders,
    body: formdata,
    redirect: 'follow'
  };
  
  fetch(&quot;https://myapi.com/api/Konfigurator/GetProjekt&quot;, requestOptions)
    .then(response =&gt; response.text())
    .then(result =&gt; console.log(result))
    .catch(error =&gt; console.log('error', error));
  </code></pre>