我已尝试测试,但始终不允许使用方法

时间:2019-07-18 03:46:41

标签: php laravel

为什么即使以前总是可以使用,为什么也不能使用

route
Route::post('/test', 'Book_baggage@testFunction');

controller
public function testFunction(Request $request)
{
   echo "string";
}

verifyCsrfToken
protected $except = [
   '/test'
];

0 个答案:

没有答案
相关问题