(rontolisp) docs
← Functions

rontolisp:url-query

(rontolisp:url-query string)

Returns the raw query-string part of a URL or request-target string: the text after the first ? (possibly empty), or nil when there is no ?. The counterpart rontolisp:url-path returns the part before it. The result is not decoded — pass it to rontolisp:query-params or rontolisp:query-param.

Backend support

Works on every backend and in every WASM mode (Preview 1 included): the library is written in rontolisp itself and is compiled into the program when used.