title: How to get request body to be populated
body: <p>I am doing a get response and in my api/cmsview it is not getting the object that my Axios is passing.</p>
  
  <pre><code>class CmsView extends Component {
    constructor(props) {
      super(props)
  
  
      this.state = {
          cmsObj: [],
          packageLid : props.location.state
      }
      var packageLid = this.props.location.state.packageLid
      console.log(packageLid.PACKAGE_LID) //this gets populated with data
      Axios.get('/api/cmsview', {packageLid})
      .then((response) =&gt; {
                  this.setState({ cmsObj: response.data })
              })
     }
  }
  </code></pre>
  
  <p>My <code>packageLid</code> does get populated with data, but when I do the Axios get:</p>
  
  <p>in my cmsview.js</p>
  
  <pre><code>router.get('/', (req, res, next) =&gt; {
      console.log(req.body.packageLid.PACKAGE_LID) 
  }
  </code></pre>
  
  <p>my <code>req.body.packageLid</code> does not get populated. Any idea why? It just outputs "undefined"</p>