title: Get the updated value in laravel + vuejs
body: <p>I have a edit page : <code>http://localhost/smp/post/12</code></p>
  <p><a href="https://i.stack.imgur.com/5KAbo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5KAbo.png" alt="enter image description here" /></a></p>
  <p><strong>API ROUTE:</strong></p>
  <pre><code>Route::get('package', [ProductController::class, 'update']);
  </code></pre>
  <p>In <code>ProductController.php</code></p>
  <pre><code>public function update(Request $request) {
      dd($request); // 
  }
  </code></pre>
  <p>In <code>product.vue</code></p>
  <pre><code>axios
  .post(&quot;/promotion-platform/api/images/upload&quot;,{ 'id' : this.id })
            .then((res) =&gt; {
        console.log(res.data);
  })
  </code></pre>
  <p>eg: I fix the <code>name</code> box from '<strong>Iphone 13</strong>' to '<strong>Iphone 12</strong>'. And when I press update then I want to get the unique value I just modified.</p>