Files
gists/gitea-create-repo-api-curl-post.md
T

231 B

Gitea Create Repo - API Curl POST

curl -X POST -H "Authorization: token YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "new-repo", "private": true}' \
https://gitea.example.com/api/v1/user/repos