Reputation: 2405
I am working on Sinatra, is there a way to see the form data that I am posting to an action?
Thanks.
Upvotes: 0
Views: 1470
Reputation: 12906
params.inspect
Or for just the post data (the above also includes GET parameters)
request.POST.inspect
Upvotes: 5