java cli example that uses http-requests library