Remove static buildUrl method
Change handling the query parameters for GET requests