building method uri query with parameters