import { HonoRequest } from "https://deno.land/x/hono@v4.3.6/request.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()
})