OriginalURL

Contains the original request URL.

  1. c.OriginalURL() string
  1. // GET http://example.com/search?q=something
  2.  
  3. app.Get("/", func(c *fiber.Ctx) {
  4. c.OriginalURL() // "/search?q=something"
  5. })