You can use the request.get? and request.post? methods to distinguish between HTTP Gets and Posts.
- See http://api.rubyonrails.org/classes/ActionDispatch/Request.html
You can use the request.get? and request.post? methods to distinguish between HTTP Gets and Posts.