title: How can I using put method to update data on the vue component?
body: <p>My ajax axios like this :</p>
  
  <pre><code>let formData = new FormData()
  formData.append('file', user.avatar)
  formData.append('selected_data', JSON.stringify(user))
  axios.post('/member/profile/update', 
      formData, {
          headers: {
              'Content-Type': 'multipart/form-data'
          }
      }
  )
  .then(response =&gt; cb(response))
  .catch(error =&gt; ecb(error))
  </code></pre>
  
  <p>My routes like this :</p>
  
  <pre><code>Route::post('update', 'member\UserController@update')-&gt;name('member.profile.update');
  </code></pre>
  
  <p>If the script executed, it works. I success get the data sended</p>
  
  <p>But here, I want to change post method to put method. Because this used to update profile</p>
  
  <p>I change like this :</p>
  
  <pre><code>axios.put(...
  </code></pre>
  
  <p>And the routes :</p>
  
  <pre><code>Route::put('update', ...
  </code></pre>
  
  <p>I don't success get the data sended. The data sended is empty</p>
  
  <p>How can I solve this problem?</p>
  
  <p><strong>Update</strong> :</p>
  
  <p>If I <code>console.log(user)</code>, the result like this :</p>
  
  <p><a href="https://i.stack.imgur.com/dvo3v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dvo3v.png" alt="enter image description here"></a></p>