instance method
post
Ruby on Rails 3.0.20
Since v3.0.20Signature
post(path, parameters = nil, headers = nil)
Performs a POST request with the given parameters. See get() for more details.
Parameters
-
pathreq -
parametersopt = nil -
headersopt = nil
Source
# File actionpack/lib/action_dispatch/testing/integration.rb, line 37
def post(path, parameters = nil, headers = nil)
process :post, path, parameters, headers
end
Defined in actionpack/lib/action_dispatch/testing/integration.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Integration::RequestHelpers