{
"bookname": "黑马程序员",
"author": "小马",
"publisher": "北京出版社",
"creator": "老李"
}
curl --location --request PUT 'https://hmajax.itheima.net/api/books/1' \
--header 'Content-Type: application/json' \
--data-raw '{
"bookname": "黑马程序员",
"author": "小马",
"publisher": "北京出版社",
"creator": "老李"
}'
{
"message": "修改图书成功",
"data": {
"id": 84863,
"bookname": "黑马程序员",
"author": "小马",
"publisher": "北京出版社"
}
}