ChatGPT Access to GitHub Repositories — Part 3

David Such
12 min readDec 28, 2023

In order to access private repositories we need to delve into the black art of authentication and authorization. Our focus will be on authenticating RESTful APIs, as that is what GitHub uses.

Figure 1. A RESTful GET Request [Image Credit: DALL-E]

RESTful API Message Contents

When making a request to a RESTful API, several components are involved (Figure 2). These include:

--

--

David Such

Reefwing Software · Embedded Systems Engineer · iOS & AI Development · Robotics · Drones · Arduino · Raspberry Pi · Flight Control