queryParams
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.
main.tsx
https://trcl--fbeb9f7827b411f0aecd569c3dd06744.web.val.run
Using the standard URL#searchParams method, you can grab query parameters out of any val that is operating using the Web API.
This val demonstrates how to grab one or more query parameters. It returns the all the query parameters found as a json response.