Reverse engineered GitHub copilot API
Please check examples for usage. Make sure you have your Github cookie.
- Press
Ctrl + Shift + J
- Goto
Network
tab - Press
Ctrl + R
to reload the page - Scroll to top in request history
- You will see
github.com
at top (ifPreserve Log
is not enabled) - Click on it
- Click on the request header drop down
- Copy all the content of
Set-Cookie
Not affiliated or related to github :)