Koa router: How to get query string params?
You can use ctx.query
(or long-hand ctx.request.query
)
app.use( (ctx) => console.log(ctx.query) )
According to the docs there should be a ctx.request.query
that is the query string items represented as an object.