View definition


Defined in


FormValue returns form value associated with the given key.

The value is searched in the following places:

* Query string.
* POST or PUT body.

There are more fine-grained methods for obtaining form values:

* QueryArgs for obtaining values from query string.
* PostArgs for obtaining values from POST or PUT body.
* MultipartForm for obtaining values from multipart form.
* FormFile for obtaining uploaded files.

The returned value is valid until returning from RequestHandler.

FormValue is referenced in 8 repositories