← Back to team overview

launchpad-dev team mailing list archive

Re: Problem using Launchpad API to retrieve the authenticated user

 

On 13/03/13 10:50, Chris Wilson wrote:
> Hi William,
> 
> Thanks a lot for your reply. My request (I've revoked the OAuth
> credentials) is
> 
> Header data: {
>     Accept = "application/json";
>     "Accept-Encoding" = "gzip, deflate";
>     "Accept-Language" = "en-us";
>     Authorization = "OAuth
> realm=\"https://api.launchpad.net/\",oauth_consumer_key=\"Chris-Wilson-App-Key\",oauth_token=\"5CxXHrFKqn1fWsWMKXXH\",oauth_signature_method=\"PLAINTEXT\",oauth_signature=\"%26BVjq9NlhL1rH8FW8Fg1LM3kNskcQxFFhlh3pM5X6JXjcT8CJhNtJp5PGqVF6TZS3VKdNLqPk8NnmtZbz\",oauth_timestamp=\"1363127374\",oauth_nonce=\"xOUnK7gEirDkNuYE7hepGnaV24r6xTfp\",oauth_version=\"1.0\"";;
>     "Content-Type" = "application/json";
> }

You said you were sending a request to api.staging.launchpad.net, but
that request mentions api.launchpad.net. A token for one will not work
on the other.

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References