title: FormData not being read by laravel on backend
body: <p>This qn is related to vue and alravel, I try to make and api request on vue with <code>const response = await http.put(&quot;api/v1/vehicles/&quot; + vehicleId,formData);</code>. I see the data going on payload, But when i DO <code>dd($request-&gt;all())</code> It shows empty</p>
  <pre><code>async update(vehicleId, data) {
    try {
      let formData = new FormData();
      (data.files ?? []).forEach((file, key) =&gt; {
        formData.append(&quot;files[]&quot;, file);
      });
      Object.entries(data).forEach(([key, value]) =&gt; {
        if (key !== &quot;files&quot; &amp;&amp; value !== null) formData.append(key, value);
      });
      const response = await http.put(
        &quot;api/v1/vehicles/&quot; + vehicleId,
        formData
      );
      return Promise.resolve(response.formData);
    } catch (err) {
      return Promise.reject(err);
    }
  },
  </code></pre>
  <p>When I hit url with <code>  const response = await http.put(&quot;api/v1/vehicles/&quot; + vehicleId,data);</code> It shows on <code>$request-&gt;all()</code>. I need to add formData to attach the fiels. Is it because put request doesnot read formData??</p>
  <p>I saw a method spoofing and I did this</p>
  <pre><code>        let vehicle_data = { _method: &quot;PUT&quot;, form: formData };
      const response = await http.post(
        &quot;api/v1/vehicles/&quot; + vehicleId,
        vehicle_data
      );
  </code></pre>
  <p>BUt it gives null on form?</p>