Bugfix. Endpoint URL missing '?' when query params are provided