MCPcopy Create free account
hub / github.com/kataras/iris / Post

Method Post

core/router/api_builder.go:1492–1494  ·  view source on GitHub ↗

Post registers a route for the Post HTTP Method. Returns a *Route and an error which will be filled if route wasn't registered successfully.

(relativePath string, handlers ...context.Handler)

Source from the content-addressed store, hash-verified

1490//
1491// Returns a *Route and an error which will be filled if route wasn't registered successfully.
1492func (api *APIBuilder) Post(relativePath string, handlers ...context.Handler) *Route {
1493 return api.Handle(http.MethodPost, relativePath, handlers...)
1494}
1495
1496// Put registers a route for the Put HTTP Method.
1497//

Callers

nothing calls this directly

Calls 1

HandleMethod · 0.95

Tested by

no test coverage detected