title: CORS preflight channel did not succeed...Although other request are working properly but one request is having this cors error
body: <p>I have an angular app and node backend and all the request is properly working but when I try to use a get request and inside that I am redirecting the request then 'CORS preflight channel did not succeed' this error is happening...when I am trying in postman I am getting my desire result...but not in browser</p>
  
  <pre><code>router.get('/monthdata/:month' ,  jwtHelper.verifyJwtToken , ctrlData.getMonthData);
  router.post('/monthdata' , jwtHelper.verifyJwtToken , ctrlData.postMonthData);
  </code></pre>
  
  <pre><code>module.exports.postMonthData = (req , res , next) =&gt;{
      let month = req.body.month;
      //console.log(`/api/monthdata/${month}` );
      res.redirect(`/api/monthdata/${month}`);
  }
  
  
  module.exports.getMonthData = (req , res , next) =&gt;{
      Data.find({
          _creator : req._id , month : req.params.month
      } , (err , data)=&gt;{
          if(!data)
              return res.status(400).json({status : false , message : 'Data notfound'})
          else
              return res.status(200).json({status: true , data})
      });
  }
  </code></pre>