Query

This property is an object containing a property for each query string parameter in the route.

If there is no query string, it returns an empty string.
  1. c.Query(parameter string) string
  1. // GET http://example.com/shoes?order=desc&brand=nike
  2.  
  3. app.Get("/", func(c *fiber.Ctx) {
  4. c.Query("order") // "desc"
  5. c.Query("brand") // "nike"
  6. })