import { HonoRequest } from "https://deno.land/x/hono@v4.1.0/mod.ts";
.query()
can get querystring parameters.
Examples
Example 1
Example 1
// Query params
app.get('/search', (c) => {
const query = c.req.query('q')
})
// Get all params at once
app.get('/search', (c) => {
const { q, limit, offset } = c.req.query()
})