instance method
post
Ruby on Rails 8.0.4
Since v3.0.20Signature
post(action, **args)
Simulate a POST request with the given parameters and set/volley the response. See get for more details.
Parameters
-
actionreq -
argskeyrest
Source
# File actionpack/lib/action_controller/test_case.rb, line 445
def post(action, **args)
process(action, method: "POST", **args)
end
Defined in actionpack/lib/action_controller/test_case.rb line 445
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase::Behavior