Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Dingo
Api
Routing
Router
post
Dingo\Api\Routing\Router::post PHP Method
Router Class Documentation
显示文件
Open project: dingo/api
post()
public
method
Create a new POST route.
public
post
(
string
$uri
,
array
|
string
|
callable
$action
) :
mixed
$uri
string
$action
array
|
string
|
callable
return
mixed
public function post($uri, $action) { return $this->addRoute('POST', $uri, $action); }
Router
__construct
addControllerMiddlewareToRouteAction
addRoute
any
createRoute
current
currentRouteAction
currentRouteName
currentRouteNamed
currentRouteUses
delete
dispatch
formatArrayBasedOption
formatNamespace
formatPrefix
formatUses
gatherRouteMiddlewares
get
getAdapterRoutes
getCurrentRequest
getCurrentRoute
getLastGroupPrefix
getRoutes
getRoutesDispatched
group
hasDispatchedRoutes
hasGroupStack
is
match
mergeGroup
mergeLastGroupAttributes
options
patch
post
prepareResponse
put
requestIsConditional
resource
resources
setAdapterRoutes
setConditionalRequest
setCurrentRoute
uses
version