Implement snip api post

This commit is contained in:
Tim
2025-04-27 23:18:20 +02:00
parent f56c78f626
commit 74154e240f
4 changed files with 78 additions and 5 deletions

13
.http
View File

@ -3,7 +3,16 @@ GET {{host}}/api/me
Accept: application/json
X-AUTH-TOKEN: {{apiKey}}
### api snip
GET {{host}}/api/snip/2
### api snip get
GET {{host}}/api/snip/22
Accept: application/json
X-AUTH-TOKEN: {{apiKey}}
### api snip post edit
POST {{host}}/api/snip/22
Content-Type: application/json
X-AUTH-TOKEN: {{apiKey}}
{
"content": "snip api test push number 3 without name"
}