curl --location --request PUT 'http://localhost:8000/api/transactions/' \
--header 'Cookie: access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"title": "string",
"amount": 0,
"type": "Income",
"date": "string",
"notes": "string"
}'
{
"result": true,
"message": "Transaction updated",
"data": [
{
"id": 1,
"title": "consectetur",
"amount": 496,
"type": "Income",
"date": "2025-02-18",
"notes": "incididunt consectetur dolor",
"created_at": "2025-08-17T05:37:32.105376Z",
"user": 12
}
]
}