How To Make A Rest Api Call In Java