获取请求头

$_SERVER

获取请求体

$body = file_get_contents("php://input");