Bug fix for GET requests

Fixed bug when building GET request, if parameters are empty don't append '?' to the url just leave it as is, issue when building requests but also using getNext() since the data was already in the url.