You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not sure that you know this way already, but I want to tell you. I know how to get multiple query params with ittry-router. Inside of the handler, we can get Request object. So, we can get multiple query params by getting url strings, passing into URLSearchParams, and using getAll() method. This is code:
Hi there ✋
It's not sure that you know this way already, but I want to tell you. I know how to get multiple query params with
ittry-router
. Inside of the handler, we can getRequest
object. So, we can get multiple query params by getting url strings, passing intoURLSearchParams
, and usinggetAll()
method. This is code:Run with Wrangler or Miniflare, and then access like this:
You can get multi values.
Note:
You can also use Hono instead of ittry-router.
If it is annoying, feel free to close this issue.
The text was updated successfully, but these errors were encountered: