title: How to receive HTTP POST parameters on vue.js?
body: <p>I'm developing a site that receives some URL parameters. When the parameters are sent by HTTP GET I can receive then, example:</p>
  
  <p>Calling the site:</p>
  
  <pre><code>http://localhost:8080/#/Home?status=2
  </code></pre>
  
  <p>Showing the received the parameters, inside any js function:</p>
  
  <pre><code>console.log(this.$route.query.status)
  </code></pre>
  
  <p>The GET is working fine.</p>
  
  <p>But when I sent the same parameter using HTTP POST, I don't know how to receive it. I used the postman program to send this.</p>
  
  <p>I tried showing it using the $route.params:</p>
  
  <pre><code>console.log(this.$route.params.status)
  </code></pre>
  
  <p>But no success.</p>
  
  <p>How to receive HTTP POST parameters on vue.js?</p>
  
  <p>I found this guide at the vuejs site:</p>
  
  <p><a href="https://router.vuejs.org/guide/advanced/data-fetching.html#fetching-after-navigation" rel="noreferrer">data-fetching</a></p>
  
  <p>But it still needs a getPost function.</p>
  
  EDIT
  
  <p>My router/index.js is this:</p>
  
  <pre><code>import Vue from 'vue'
  import Router from 'vue-router'
  import Home from '@/components/Home'
  
  
  Vue.use(Router)
  
  export default new Router({
    routes: [
      {
          path: '/',
          name: 'Root',
          component: Home
      },
      {
          path: '/Home',
          name: 'Home',
          component: Home
      }
    ]
  })
  </code></pre>