must be a better way to put url params in the request