Get query data
Get the current query data in form of an urlencoded query string.
Returns a string containing the urlencoded query.