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请求
curl -XGET http://localhost/
curl -XPOST -H “Content-Type:application/json” -d ‘{“action”:“create”, “size”:1024}’ http://localhost:4806/v1.0/sqh001/disks/rbd1
curl -XDELETE http://localhost