module Runcobo::Params::Form
Overview
Defines form params.
class FormParamsExample < BaseAction
get "/params"
form NamedTuple(id: Int64, category: String)
call do
sum = form[:id] + 6
render_plain "#{sum}: #{category}"
end
end
Defines form params.
class FormParamsExample < BaseAction
get "/params"
form NamedTuple(id: Int64, category: String)
call do
sum = form[:id] + 6
render_plain "#{sum}: #{category}"
end
end