0
我使用流明laravel作爲後端。我正在嘗試使用angular2從前端執行POST方法。 GET方法工作正常。但是當用POST方法嘗試時,我得到的錯誤爲405方法不允許Method not allowed 405 error在流明Laravel 5.4 POST方法不起作用
routes/web.php $ app-> post('/ insert_data','ExampleController @ testInsert');
發佈您試圖調用POST方法的角碼 – ayip