首页 文章
  • 6 votes
     answers
     views

    在 Laravel 中禁用请求验证重定向 5.4

    所以我正在尝试为内部项目开发一个 rest API,我遇到了一个问题,当表单请求验证失败时,它会显示 the @index response。 所以我有两条路线; Route::get('/api/clients', 'ClientController@index'); Route::post('/api/clients', 'ClientController@store'); @index列出...

热门问题