Do not add '?' to url if there is not query string parameters.
Merge pull request #5 from iulian-meghea/master

Do not add '?' to url if there is not query string parameter.