PUT
/words
curl \
-X PUT http://localhost:5000/words \
--cookie "fastapiusersauth=$API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":1337,"en":"Software Construction","en_type":"n","vn":"Xây dựng phần mềm","vn_type":"danh từ"}'
Request example
{
"id": 1337,
"en": "Software Construction",
"en_type": "n",
"vn": "Xây dựng phần mềm",
"vn_type": "danh từ"
}