Get

Returns the HTTP request header specified by field.

The match is case-insensitive.
  1. c.Get(field string) string
  1. app.Get("/", func(c *fiber.Ctx) {
  2. c.Get("Content-Type") // "text/plain"
  3. c.Get("CoNtEnT-TypE") // "text/plain"
  4. c.Get("something") // ""
  5. })