• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
radum

radum

Test_PS_URL

Remix of stevekrouse/queryParams
Public
Like
Test_PS_URL
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
main.tsx
https://radum--d1140a8c27a611f09edc569c3dd06744.web.val.run
README.md

Handling query params

You can grab query parameters out of any val that is operating using the Web API using URL#searchParams.

This val demonstrates how to grab a single name parameter, as well as convert the entire query string into an object. It returns the all the query parameters found as a json response.

Example

https://stevekrouse-queryparams.web.val.run/?name=Steve&foo=bar

{ "name": "Steve", "all": { "name": "Steve", "foo": "bar" } }
HTTP
  • main.tsx
    radum--d1…44.web.val.run
Code
README.md
H
main.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.