Use uri parameters in rest calls