I'm looking at these directions: "Send a request to: https://www.google.com/accounts/OAuthGetRequestToken with the following query parameters..."
"Authorization header of a GET or POST request. Use "Authorization: OAuth". All parameters listed above can go in the header, except for scope and xoauth_displayname, which must go either in the body or in the URL as a query parameter. The example below puts them in the body of the request." http://code.google.com/apis/accounts/docs/OAuth_ref.html#RequestToken For a POST, this would be done with something along the lines of: import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpStatus; import org.apache.commons.httpclient.methods.PostMethod; import java.io.BufferedReader; import java.io.InputStreamReader; public class PostMethodExample { public static void main(String args[]) { HttpClient client = new HttpClient(); client.getParams().setParameter("http.useragent", "Test Client"); ... http://www.java2s.com/Code/Java/Apache-Common/HttppostmethodExample.htm that would be the starting point for OAuth? thanks, Thufir -- You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
