instance method
POST
Ruby on Rails 4.0.13
Since v3.0.20Signature
POST()
Override Rack’s POST method to support indifferent access
Source
# File actionpack/lib/action_dispatch/http/request.rb, line 281
def POST
@env["action_dispatch.request.request_parameters"] ||= deep_munge((normalize_encode_params(super) || {}))
rescue TypeError => e
raise ActionController::BadRequest.new(:request, e)
end
Defined in actionpack/lib/action_dispatch/http/request.rb line 281
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Request