Search...
query
Returns the query fields and values of the request URL.
Description
Premium sites:
Free sites:
Note: The above URLs are for a published site. When previewing your site, you will receive the Editor URL.
Type:
ObjectRead Only
Was this helpful?
Get the query of the router request's URL
Copy Code
1export function myRouter_Router(request) {23 let query = request.query;4 // {"species": "african-elephant"}5}