Get
Returns the HTTP request header specified by field.
The match is case-insensitive.
- c.Get(field string) string
- app.Get("/", func(c *fiber.Ctx) {
- c.Get("Content-Type") // "text/plain"
- c.Get("CoNtEnT-TypE") // "text/plain"
- c.Get("something") // ""
- })