mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 13:04:34 +00:00
add notes (#218)
* add notes * fix build * Commit from GitHub Actions (Publish APIs & Clients) Co-authored-by: asim <asim@users.noreply.github.com>
This commit is contained in:
10
examples/notes/update/curl/updateANote.sh
Executable file
10
examples/notes/update/curl/updateANote.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
curl "https://api.m3o.com/v1/notes/Update" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
"note": {
|
||||
"id": "63c0cdf8-2121-11ec-a881-0242e36f037a",
|
||||
"text": "Updated note text",
|
||||
"title": "Update Note"
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user