Method PUT is not allowed by Access-Control-Allow-Methods in preflight response. in AWS
<p>I keeps getting the error when doing PUT request to AWS apigateway with Fetch api in ReactJS. Pretty much sure I've enabled CORS in aws and depoyed it.</p>

<p>the fetch code looks like:</p>

<pre><code>fetch(urlUpdate, {
        method: "PUT",
        headers: {
          "Content-Type": "application/json"           
        },
        mode: 'cors',
        body: JSON.stringify({
          "Item": value;
        })
      });
</code></pre>

<p>GET and POST requests are all working, have't check DELETE yet.</p>