Laravel 获取请求头部信息及 JSON 格式数据
$request->header('authorization')
获取所有参数
$request->input()
相当于
$data = file_get_content('php://input') + json_decode($data, true);
最近访问时间:2025-04-30 15:24:09