6
私はClientLoginGoogleのClientLogin認証
URL url = new URL("https://www.google.com/accounts/ClientLogin");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setDoOutput(true);
connection.setRequestMethod("POST");
connection.setRequestProperty("Email", "testonly%2Ein%2E2011%40gmail%2Ecom");
connection.setRequestProperty("Passwd", "mypass");
connection.setRequestProperty("accountType", "HOSTED");
connection.setRequestProperty("service", "apps");
connection.connect();
を使用して認証を行うことしてみてくださいしかし、私はError=BadAuthentication
を取得します。コードを修正する方法
GAEプラットフォームで実行しても問題がなければ –