curl -XGET http://localhost/

 

2.  POST请求

 

curl -XPOST -H “Content-Type:application/json” -d ‘{“action”:“create”, “size”:1024}’ http://localhost:4806/v1.0/sqh001/disks/rbd1

 

3.  DELETE请求

 

curl -XDELETE http://localhost

 

4.  PUT请求

 

 

 

相关文章:

  • 2022-02-10
  • 2021-06-28
  • 2022-01-23
  • 2022-12-23
  • 2021-08-09
  • 2021-08-07
  • 2021-10-10
  • 2022-12-23
猜你喜欢
  • 2022-01-04
  • 2021-08-09
  • 2018-11-21
  • 2021-11-23
  • 2021-11-26
  • 2022-01-21
相关资源
相似解决方案