Saturday, 14 July 2018

Communicating with the GitHub API through HTTPS

Hello!I'm currently making a project where we need to communicate with the GitHub api in order to make a Pull Request, but we can't really make it work. We successfully used the GitHub API to authenticate the user, but we can't make this part work. We either get a 403, 404 or 422 error code.The code looks like this (with some bits modified for clarity) (It's typescript).https://ift.tt/2Jn83ll anyone tell us what we're doing wrong? We managed to use the API with Insomnia, but we can't translate the request to Typescript.Thanks

Submitted July 14, 2018 at 05:17PM by Kywim

No comments:

Post a Comment