Fix GET request missing parameters.

The `url` variable was updated with the parameters but then wasn't used.