Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/270.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 当post结果过期时的邮递员_Php_Laravel_Rest_Postman_Restapi - Fatal编程技术网

Php 当post结果过期时的邮递员

Php 当post结果过期时的邮递员,php,laravel,rest,postman,restapi,Php,Laravel,Rest,Postman,Restapi,我想在这里问你。我用邮递员。当我尝试在postman中测试时,我想在控制器中测试输入函数。该页面已过期。虽然我的路由和函数名是正确的。我错过什么了吗 我的路线 Route::post('displayantri/input',[KelolaAntriController::class,'input']); 我的职能 public function input(Request $Request){ $response = [ 'STATUS' =>

我想在这里问你。我用邮递员。当我尝试在postman中测试时,我想在控制器中测试输入函数。该页面已过期。虽然我的路由和函数名是正确的。我错过什么了吗

我的路线

Route::post('displayantri/input',[KelolaAntriController::class,'input']);
我的职能

public function input(Request $Request){
        $response = [
            'STATUS' => 'SUKSES',
            'Message' => 'Data',
            'data' =>  $request->all(),
        ];
    }

欢迎来到SO。。这是
419
csrf错误,您需要使用
api
路由或将此url从csrf保护中排除