title: Postman failing to send json to PHP api
body: <pre><code>    public function register(Request $request) {
  //        $user = User::create([
  //            'name' =&gt; $request-&gt;input('name'),
  //            'email' =&gt; $request-&gt;input('email'),
  //            'password' =&gt; Hash::make($request-&gt;input('password'))
  //        ]);
  //
  //        return $user;
  
          return &quot;test&quot;;
      }
  </code></pre>
  <p>Hi all,
  basically, I'm trying to build a restful API with Laravel and my API is being hit by Postman, but when I send a JSON body my <code>$request</code> is an empty array.</p>
  <p>It's the first time I'm touching Laravel so it's probably something obvious so thank you in advance !</p>