Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Phprest
Application
post
Phprest\Application::post PHP Method
Application Class Documentation
Datei anzeigen
Open project: phprest/phprest
post()
public
method
Add a POST route.
public
post
(
string
$route
,
mixed
$action
) :
void
$route
string
$action
mixed
return
void
public function post($route, $action) { $this->getRouter()->addRoute('POST', $route, $action); }
Application
__construct
delete
get
getConfiguration
getEventEmitter
getRouter
handle
head
options
patch
post
put
registerController
registerMiddleware
registerService
run
setErrorHandler
setExceptionDecorator
subscribe
terminate