recaptcha: Returns Null

It returns null when I used dd() in it. My code:

dd($request->input('g-recaptcha-response'));

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

@jonjie0317 Add dd($request->all()); at the top of postForm (you can also do dd(\Request::all())). Also, are you type sniffing the Request properly? Make sure that the $request object you’re looking at is of type Illuminate\Http\Request.