added gitea-create-repo-api-curl-post.md

This commit is contained in:
patk
2026-09-12 14:23:14 -05:00
parent 4114371bae
commit 6e7f2ce740
+8
View File
@@ -0,0 +1,8 @@
# 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
```