GET请求:
curl -X GET --header 'Accept: application/json' 'http://ip:8080/api/book/detail?bookId=5&bookName=newBeer'
POST请求:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"bookId":"5","bookName":"newBeer"}' 'http://ip:8080/api/book/update'