router::post PHP Method

post() public method

public post ( $url, $callback )
    function post($url, $callback)
    {
        self::set(array('POST'), $url, $callback);
    }

Usage Example

Example #1
0
function post($url, $fun)
{
    router::post($url, $fun);
}