मैं ClientLoginगूगल 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 प्लेटफ़ॉर्म पर चलाता हूं, यदि यह –