query


queryQueryRead-only

Returns the query fields and values of the request URL.

Premium sites: Premium site query

Free sites: Free site query

Note: The above URLs are for a published site. When previewing your site, you will receive the Editor URL.

Get the query of the router request's URL
JavaScript
export function myRouter_Router(request) { let query = request.query; // {"species": "african-elephant"} }
Did this help?