title: How to pass params in axios PUT request?
body: <pre><code>axios.put('http://localhost:3000/api/userDatas/findUserAddProp',{
      params: {
          userId: "5bb8c3bd16bf1f515ce5b42f",
          prop: "questions",
          questionId: "5bb8c466cb49d8421c05eeda"
      }
  });
  </code></pre>
  
  <p>Server</p>
  
  <pre><code>Userdatas.findUserAddProp = function(req, res, cb) {
      const queryId = req.query.userId;
      const propToUpdate = req.query.prop;
      const questionId = req.query.questionId;
  
      console.log("queryId: ", queryId);
      console.log("propToUpdate: ", propToUpdate);
      console.log("questionId: ", questionId);
      ...
  }
  </code></pre>
  
  <p>Here is the the server output on the console.</p>
  
  <pre><code>queryId:  undefined
  propToUpdate:  undefined
  questionId:  undefined
  </code></pre>
  
  <p>Why is that happening i just passed all params to the server?</p>