java call rest api get with parameters example