1

I have generated the access_token by using the URL provided by GitHub. I am able to do all the GET operations on the api with the URL. What i really wish to do is the POST operation. I wish to create an issue from my Rails app.

Every time i try to do that, i get a 401 unauthorized access by GitHub despite the fact that i am sending the access_token in params on this URL.

I have also tried it with these gems :: Github V3 API and Octopi

There are other questions similar to this, but the solution has not been found it seems.

EDIT :: I wish to add title to create an issue

Kaushik Thirthappa
  • 1,041
  • 2
  • 9
  • 21
  • 1
    What's the code you're using to POST, and is the repo private, by chance (and being POST'ed to by a user that doesn't have access)? – jefflunt Feb 07 '12 at 15:05
  • none of them is the case. The repo is not private. I wish to post `title` which is the only require string when it comes to creating an issue. http://developer.github.com/v3/issues/#create-an-issue – Kaushik Thirthappa Feb 07 '12 at 18:26
  • I have also created an issue on github-v3-api gem. https://github.com/jwilger/github-v3-api/issues/8 – Kaushik Thirthappa Feb 07 '12 at 18:28

0 Answers0