title: Pass multiple parameter by POST axios vue
body: <p>I am trying to pass a props value and an form value to the backend controller using axios. But it only sends form value not the props value. My code is -</p>
  
  <pre><code>&lt;template&gt;
      &lt;form @submit.prevent='onSubmit'&gt;
          &lt;div class="media-comment"&gt;
              &lt;input type="text" v-model='form.comment' class="form-control" placeholder="comment..."&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
      export default {
          props: ['postId'],
  
          data() {
              return {
                  form: new Form({comment: ''}),
                  id: this.postId
              }
          },
  
          methods: {
              onSubmit() {
                  console.log(this.postId); // it shows the value in console but the value doesnt pass
                  this.form
                      .post('comments', this.data)
                      .then(post =&gt; this.$emit('completed', comment));
              }
          }
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>in console it shows only the comment, not the prop value:</p>
  
  <p><a href="https://i.stack.imgur.com/QlHam.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QlHam.png" alt="enter image description here"></a></p>
  
  <p>How to pass both value ?? </p>
  
  <p><strong>thanks in advance</strong></p>