作者:嘟嘟仔2286768 | 来源:互联网 | 2023-09-04 13:57
1. Get请求
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请求