[openstack-dev] [api] Using query string or request body to pass parameter

Alex Xu soulxu at gmail.com
Mon Dec 8 05:13:54 UTC 2014


Hi,

I have question about using query string or request body for REST 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141208/51a66b9c/attachment.html>


More information about the OpenStack-dev mailing list