Files
services/examples/notes/update/curl/updateANote.sh

10 lines
262 B
Bash
Executable File

curl "http://localhost:8080/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"
}
}'