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

Method PostValue

context/context.go:1981–1983  ·  view source on GitHub ↗

PostValue returns the last parsed form data from POST, PATCH, or PUT body parameters based on a "name". See `PostValueMany` too.

(name string)

Source from the content-addressed store, hash-verified

1979//
1980// See `PostValueMany` too.
1981func (ctx *Context) PostValue(name string) string {
1982 return ctx.PostValueDefault(name, "")
1983}
1984
1985// PostValueTrim returns the last parsed form data from POST, PATCH,
1986// or PUT body parameters based on a "name", without trailing spaces.

Callers 2

PostValueTrimMethod · 0.95
mainFunction · 0.80

Calls 1

PostValueDefaultMethod · 0.95

Tested by

no test coverage detected