first commit

main
Leon HEU 1 day ago
commit 9094ef2bba

1
.gitignore vendored

@ -0,0 +1 @@
.env

@ -0,0 +1,14 @@
fetch("https://forge.gwenaelremond.fr/api/v1/user/repos", {
method: "POST",
headers: {
Authorization: "token ${MON_TOKEN_API}",
"Content-Type": "application/json",
Accept: "application/json",
},
body: JSON.stringify({
name: "exercice",
description: "Leon",
}),
})
.then((response) => response.json())
.then((data) => console.log(data));
Loading…
Cancel
Save