use Illuminate\Http\Request; $request = Request::createFromGlobals(); $jsonData = json_decode($request->getContent(), true);
use Illuminate\Http\Request; $request = Request::createFromGlobals(); $xmlData = simplexml_load_string($request->getContent());
use Illuminate\Http\Request; $request = Request::createFromGlobals(); $binaryData = $request->getContent();Based on the namespace `Illuminate\Http`, it can be determined that this class is part of the `illuminate/http` package in Laravel.