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'

 

相关文章:

  • 2022-12-23
  • 2022-02-27
  • 2021-06-02
  • 2022-03-01
  • 2021-09-28
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-01-21
相关资源
相似解决方案