Public
HTTP (deprecated)
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
export const urlQueryStringExample = async (request: Request) => {
const u = new URL(request.url);
return Response.json(Object.fromEntries(u.searchParams.entries()));
};