Got server to use query parameters