Connecting to API and doing requests
Hello,
I am building a Ruby gem to connect to launchpad, and i am following the instructions on the API, but i get to a step where i cannot go further. These are the steps that i was able to do:
1 - I request the token and my application open the login of launchpad,
2 - I enter my credentials there and select the access
3 - Login redirects again to my application and i convert my request token into an access token
4 - I get the access token back.
Now the problems start
This is my request for the access token
Data: oauth_consumer_
The answer is:
oauth_token=
Which looks ok. After this i try to do a get request to people/+me with the following headers:
Sending: GET http://
Header: accept: application/json
Header: accept-encoding: gzip;q=
Header: user-agent: OAuth gem v0.4.7
Header: authorization: OAuth realm="https:/
But i get redirected to
Header: location: https:/
Like if my token was not able to login.....
Does anyone see any issue with these requests?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask João Pereira for more information if necessary.