FormValue
Any form values can be retrieved by name, the first value from the given key is returned.
- c.FormValue(name string) string
- app.Post("/", func(c *fiber.Ctx) {
- // Get first value from form field "name":
- c.FormValue("name")
- // => "john" or "" if not exist
- })