MCPcopy Create free account
hub / github.com/devfeel/dotweb / POST

Method POST

server.go:331–333  ·  view source on GitHub ↗

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

(path string, handle HttpHandle)

Source from the content-addressed store, hash-verified

329
330// POST is a shortcut for router.Handle("POST", path, handle)
331func (server *HttpServer) POST(path string, handle HttpHandle) RouterNode {
332 return server.Router().POST(path, handle)
333}
334
335// PUT is a shortcut for router.Handle("PUT", path, handle)
336func (server *HttpServer) PUT(path string, handle HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 2

RouterMethod · 0.95
POSTMethod · 0.65

Tested by

no test coverage detected