send parameters as queries