oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jasha Joachimsthal <ja...@apache.org>
Subject Re: Access Token Request Using POST
Date Mon, 18 Nov 2013 08:08:01 GMT
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 <drabindr@gmail.com> 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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message