From the course: Building GitHub Bots
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Solution: Post an issue comment
From the course: Building GitHub Bots
Solution: Post an issue comment
(upbeat music) - [Instructor] Were you able to do it? Was it easy to figure out? Congratulations if you were able to figure it out. If not, I'll help you. So I have this issue created with the REST API I created using my command line in the Spoon-Knife repository. We'll be going ahead and posting a command here using the command line. For that, you have to go to create an initial command section in the GitHub, REST API documentation and just go to the curl command and copy this. There's also copy using this though. Now I'll go to my terminal and paste this, try and run this. You can see the message back credentials, that's because of the fact that my token is absent as well as the owner repo all of this. So for that, I'll just grab my token. I have my token saved using (indistinct), just copy this token and I'll just go ahead and bring it again. Go to the token and replace it. Okay? And I'll have to change a few things like this one, the rep name is Spoon-Knife and the owner is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.