hyTags
HomeHome DocumentationDocumentation

url-get-query

Gets the query string from a URL
Parameter
Type
Description
self
Url
The URL to get the query string from
return
string
The query string portion of the URL
Test Case:Get query from URL
    <div></div>
    
    <url-from-string string="https://example.com/path?key=value&amp;foo=bar">
    <url-get-query>
    <assert-equal value="key=value&amp;foo=bar" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed