include the query string in the uri method if the request it is get and
query string is not empty