Method: Rack::MockRequest#post
- Defined in:
- lib/rack/mock_request.rb
#post(uri, opts = {}) ⇒ Object
Make a POST request and return a MockResponse. See #request.
51 |
# File 'lib/rack/mock_request.rb', line 51 def post(uri, opts = {}) request(POST, uri, opts) end |