在 2014年12月08日 13:13, Alex Xu 写道:
Hi,

I have question about using query string or request body for REST API.
I wonder if we can use body in delete, currently , there isn't any case used in v2/v3 api.

This question found when I review this spec:
https://review.openstack.org/#/c/131633/6..7/specs/kilo/approved/judge-service-state-when-deleting.rst

Think about use request body will have more benefit:
1. Request body can be validated by json-schema
2. json-schema can doc what can be accepted by the parameter

Should we have guideline for this?


_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Thanks,
Eli (Li Yong) Qiao

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to