SyntaxFix
Write A Post
Hire A Developer
Questions
Inside controller inject Request object. So if you want to access request body inside controller method 'foo' do the following:
public function foo(Request $request){ $bodyContent = $request->getContent(); }