I am trying to call bitbucket's api using 2-legged oauth authentication.
I call
https://bitbucket.org/!api/1.0/oauth/request_token
with my oauth secret and key and get the following:
oauth_token_secret=<token_secret>&oauth_token=<token>&oauth_callback_confirmed=true
How can I use this to call an api function, such as
https://bitbucket.org/api/1.0/user