Fixed API request method to match OAuth2 gem behavior