title: Laravel get POSTed data using request
body: <p>In Laravel how do I get the request body? I am trying $request->get(‘data’) but I get a null result. I am doing a POST request to a store function in my controller but I am unable to get the POSTed data.</p>
  
  <pre><code>public function store(Request $request)
  {
      $test = $request-&gt;get('data');
  
  }
  </code></pre>