Method: Sinatra::Base.post
- Defined in:
- lib/sinatra/base.rb
permalink .post(path, opts = {}, &block) ⇒ Object
[View source]
1539 |
# File 'lib/sinatra/base.rb', line 1539 def post(path, opts = {}, &block) route 'POST', path, opts, &block end |