If you use OAuthClientRequest#buildBodyMessage, it will put the parameters in the request body. For Facebook the query parameters can go in the URL, but others like Microsoft, want them in a POST body.
Jasha On 18 November 2013 03:33, Derek R <[email protected]> wrote: > Hi, > > I’m trying to integrate the framework with Rdio’s OAuth2 implementation: > > http://www.rdio.com/developers/docs/jsapi/oauth2/auth-code/ref-oauth2-auth-code > > I was reading: > > https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Client+Quickstart > > And I got stuck on the Exchange OAuth code for an access token. I believe > according the the Rdio documentation, I will need to perform a POST to the > token endpoint, however, when I run the getLocationUri on the request it > sends the params in the url. > > Is it possible to send a POST request, instead of a GET? > > Thanks for your help.
