title: Can't create cookie in Laravel5
body: <p>I'm having problems to create cookie in Laravel5. The code is below.</p>
  
  <pre><code>            $input = $request-&gt;input('first');
  
              if($request-&gt;hasCookie('first'))
              {
                  return response()-&gt;json('ok');
              }
              else
              {
                  Cookie::make('first', 'first', 1);
                  return response()-&gt;json('no');
              }
  </code></pre>
  
  <p>I also tried this:</p>
  
  <pre><code>public function createCookie(CookieJar $cookieJar)
  {
   $cookieJar-&gt;make('first', 'first', 1);
  }
  </code></pre>
  
  <p>Nothing works for me, can someone illuminate me? 
  Thanks in advance. When i try to var_dump and get the cookie value it gives me NULL.</p>