title: Reactjs redux: Fetch PUT method sending only an OPTIONS method, even when the status is 200
body: <p>I am sending a PUT method as follow (checking with chrome):</p>
  
  <pre><code>function checkStatus(response) {
    if (response.status &gt;= 200 &amp;&amp; response.status &lt; 300) {
      console.log("status: ", response.statusText);
      return response
    } else {
      var error = new Error(response.statusText)
      error.response = response
      throw error
    }
  }
  
  import fetch from 'isomorphic-fetch'
  return dispatch =&gt; {
          dispatch(requestPosts(data));
          return fetch('/trendings', {
              method: 'PUT',
              headers: {
                  'Accept': 'application/json',
                  'Content-Type': 'application/json',
                  Authorization: Config.token
              },
              body: JSON.stringify(data),
          })
          .then(checkStatus)
          .then(reponse =&gt; {
              console.log('request succeeded with JSON response', data);
              dispatch(successSent("The output list has been successfully sent!"));
          }).catch(err =&gt; {
              console.log('request failed', err);
              dispatch(failSent("Error on sending request: " + err));
          });
  </code></pre>
  
  <p>and the problem is that it's returning an OPTIONS method with status 200 only.</p>
  
  <p>The problem is that it should follow with the PUT method. Furthermore, it should return an error as the API endpoint isn't ready yet.</p>
  
  <p>Am I missing something?</p>