Fixed bug in URL generation

Was using '?' instead of '&' - caused requests to fail