Request OAuth token from BitBucket
问题 I've been trying to integrate BitBucket to my application for the past 4 hours to no avail. While reading through BitBucket's RESTful API documentation, I noticed that you need to use OAuth — it's OK, I'm using J.R Conlin's OAuthSimple library, which if fine by me (I tried oauth-php but it was kinda complicated — I didn't need all of those options for such a small integration). For what I understand, the first step to authenticate with OAuth is to request a new token via POST. When providing