Exemple of route responding to POST requests.
class PostHandler
super Handler
redef fun post(req, res) do res.send "POST request received"
end
# POST handler.
#
# Exemple of route responding to POST requests.
# ~~~
# class PostHandler
# super Handler
#
# redef fun post(req, res) do res.send "POST request received"
# end
# ~~~
fun post(req: HttpRequest, res: HttpResponse) do end
lib/popcorn/pop_handlers.nit:137,2--147,53