title: Response for preflight does not have HTTP ok status in axios
body: <p>i am trying to add stations using open weather api and doing post request using axios</p>
  
  <pre><code>const stationData={
          external_id:this.state.external_id,
          name:this.state.name,
          latitude:this.state.latitude,
          longitude:this.state.longitude,
          altitude:this.state.altitude,
          }
  
  
      const url = `http://api.openweathermap.org/data/3.0/stations?appid=${ApiKey}`;
  
      var headers = {
          'Content-Type': 'application/json;charset=UTF-8', 
          "Access-Control-Allow-Origin": "*"
      }
  
      axios.post(url, data, {headers: headers}).then((response)=&gt;{
  console.log("response is " + response);
        }).catch((err)=&gt;{
  console.log("error is " + err);
        })
  </code></pre>
  
  <p>but it is giving me an error </p>
  
  <pre><code>OPTIONS http://api.openweathermap.org/data/3.0/stations?APPID=2747592557924542516e283a7f905a81 404 (Not Found)
  
  Failed to load http://api.openweathermap.org/data/3.0/stations?APPID=2747592557924542516e283a7f905a81: Response for preflight does not have HTTP ok status.
  
  error is Error: Network Error
  </code></pre>
  
  <p>if i use the Postman to send the post request, its working there, any help please??</p>