There are a number of available routing verbs in Sinatra, they correspond directly to http verbs
get '/' do
  .. get some data, a view, json, etc ..
end
post '/' do
  .. create a resource ..
end
put '/' do
  .. replace a resource ..
end
patch '/' do
  .. change a resource ..
end
...