我在一个annonces表中有一个多个图像,我想更新多个图像,我只想将数据发送给控制器,但是它给了我错误:The PUT method is not supported for this route.Supported methods: POST.I不知道错误在哪里。multipart/form-data" class="dropzone" id="dropzone">
<input type="hidden" name="_me
我试图用"Content-Type": "multipart/form-data"向Laravel应用程序发送HTTP请求。当我将方法更改为POST时,它就能工作了。$a = $request->all(); // With PUT this is empty but with POST it works fine.")}).catch(function (error) {我在中找不到不能发送“多部分/<e