Methods

get 'url'
post 'url', 'name' => 'john'
put
patch
delete
options
head
authorize 'user', 'pass'
env 'rack.session', csrf: 'token'
header 'Content-Type', 'text/html'

See rack/test.rb.

0 Comments for this cheatsheet. Write yours!