title: Vue Js Axios get method
body: <p>I use vue.js and I try to set a parameter id in axios.get request and I can't understand how exactly to do it
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import Vue from 'vue'
  import Router from 'vue-router'
  import Home from './views/Home.vue'
  import Movie from './views/Movie.vue'
  Vue.use(Router)
  
  export default new Router({
    mode: 'history',
    base: process.env.BASE_URL,
    routes: [
      {
        path: '/',
        name: 'home',
        component: Home
      },
      {
        path: '/about',
        name: 'about',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =&gt; import(/* webpackChunkName: "about" */ './views/About.vue')
      },
      {
        path: '/movie/:m_id',
        name: 'movie',
        component: Movie
      }
    ]
  })</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import Navbar from '../components/Navbar'
  import axios from "axios"
  
  export default {
       components:{
          Navbar
        },
        data () {
      return {
        movi: null,
      }
      },
   mounted () {
      axios
        .get(`https://api.themoviedb.org/3/movie/${m_id}?api_key=7bc75e1ed95b84e912176b719cdeeff9&amp;language=en-US`)
        .then(response =&gt; (this.movi= response.data))
    }
  }</code></pre>
  </div>
  </div>
  
  I am trying to pass to axios this id of the page to get information about that specific movie and I got stuck.
  Any help?</p>