title: Post request Axios : Network error
body: <p>I'm using NodeJS for the backend, and ReactJS for the frontend.</p>
  
  <p>I've a problem with request Axios network. All my Get request work. But Post request don't work. I have just this error "network error"</p>
  
  <p>I created a simple webservice to show you my problem : </p>
  
  <pre><code>//Serveur code
  
  helloWs : (request:Express.Request, response:Express.Response) =&gt; {
          try {
              response.send('hello WS !')
          } catch (error) {
              console.error(error)
              response.send('error' + error + 'status : ' + error.response.status)     
              response.end()    
          }
      }
  
  //Here I create my root 
  router.post('/helloWs',DocumentController.helloWs)
  
  //This is my front
  
   axios.post('http://localhost:9000/1/documents/helloWs', { 
   }) .catch(function (error) {
                  if (error.response) {
                      console.log('Error data : ', error.response.data);
                      console.log('Error status : ', error.response.status);
                      console.log('Error headers : ', error.response.headers);
                  } else if (error.request) {
                      console.log('Error request : ', error.request);
                  } else {
                      console.log('Error message : ', error.message);
                  }
                  console.log(error.config);
              })
  </code></pre>
  
  <p>In the navigator console, I've just <code>network error</code> , and my webservice is in OPTION and not in "POST"</p>
  
  <p>I'm trying to add header in axios, but it doesn't work. I specify that I've tested with postman, and it's okay.
  Do you have an idea ?
  Thank you</p>