github-tools / github-tools/github
Can't create a blob
- Langage dominant
- JavaScript
- Étoiles
- 3.8k
- Forks
- 809
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```JavaScript
const GitHub = require('github-api');
const github = new GitHub({
username: 'iddan',
password: '********',
});
const mesimaivrit = github.getRepo('mesimaivrit');
mesimaivrit.createBlob('hello')
.then(console.log)
```
throws: `Error: 404 error making request POST https://api.github.com/repos/mesimaivrit/git/blobs: "Not Found"`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start at the createBlob entry point in the JavaScript wrapper and reproduce the supplied example against the GitHub git/blobs endpoint. Trace the request made by createBlob and compare it with the endpoint's expected request, then verify that the example creates a blob successfully without the reported 404.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- api
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100