User:Kim/Stations, Skills, Resources/Git API: Difference between revisions
| Line 2: | Line 2: | ||
==terminal== | ==terminal== | ||
these worked: | these worked: <br> | ||
<code>curl --header "PRIVATE-TOKEN: <your_personal_access_token>" https://gitlab.com/api/v4/projects</code> | <code>curl --header "PRIVATE-TOKEN: <your_personal_access_token>" https://gitlab.com/api/v4/projects</code> | ||
<code>curl --header "PRIVATE-TOKEN: <your_personal_access_token>" https://gitlab.com/api/v4/user</code> | <code>curl --header "PRIVATE-TOKEN: <your_personal_access_token>" https://gitlab.com/api/v4/user</code> | ||
==web (js)== | ==web (js)== | ||
Revision as of 15:41, 9 September 2025
scheming around with the Git API
terminal
these worked:
curl --header "PRIVATE-TOKEN: <your_personal_access_token>" https://gitlab.com/api/v4/projects
curl --header "PRIVATE-TOKEN: <your_personal_access_token>" https://gitlab.com/api/v4/user