title: React app not sending headers to java server
body: <p>I searched a lot on the Internet, but I didn't find anything helpful for my problem. 
  I have a java server and a react client. My server is using jwt for authentication and returns a token to my client.</p>
  
  <p>When I try to send data with a post method, my client does not send the headers, so my server returns an "Unauthorized" message. I tried to send the same request from Postman and ARC(Advanced Rest Client) and it works.</p>
  
  <p>Here is my client code: </p>
  
  <pre><code>fetch(url, {
              method: 'POST',
              crossDomain: true,
              mode: 'no-cors',
              body: JSON.stringify(data),
              headers: {
                  'Authorization': 'Bearer ' + 'token generated from fiddler after running auth',
                  'Accept': 'application/json',
                  'Content-Type': 'application/json'
              }
          })
              .then(response =&gt; response.json())
              .then(responseJson =&gt; {
                  console.log(responseJson);
              });
  
  </code></pre>
  
  <p>I tried using axios too and I have the same problem. 
  Also my server has @CrossOrigin(origins = {"*"}) annotation in all controller classes.</p>
  
  <p>I don't know if my problem is with the client or with the server and why is working using Postman and ARC.</p>