MCPcopy
hub / github.com/gin-gonic/gin / POST

Method POST

routergroup.go:111–113  ·  view source on GitHub ↗

POST is a shortcut for router.Handle("POST", path, handlers).

(relativePath string, handlers ...HandlerFunc)

Source from the content-addressed store, hash-verified

109
110// POST is a shortcut for router.Handle("POST", path, handlers).
111func (group *RouterGroup) POST(relativePath string, handlers ...HandlerFunc) IRoutes {
112 return group.handle(http.MethodPost, relativePath, handlers)
113}
114
115// GET is a shortcut for router.Handle("GET", path, handlers).
116func (group *RouterGroup) GET(relativePath string, handlers ...HandlerFunc) IRoutes {

Callers

nothing calls this directly

Calls 1

handleMethod · 0.95

Tested by

no test coverage detected