add_post_route {tower} | R Documentation |
Add a POST route
Description
Adds a POST route to a tower
Usage
add_post_route(tower, path, handler)
Arguments
tower |
A tower object |
path |
A string containing the path to match |
handler |
A function to call when the route is matched |
Value
The tower with the added POST route
[Package tower version 0.2.0 Index]