<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">在 2014年12月08日 13:13, Alex Xu 写道:<br>
</div>
<blockquote
cite="mid:CAH7mGatqU+cCq+T5wFg8Z_BQUCijtWWazsWfi09-4Y59DP5Mwg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I have question about using query string or request body
for REST API.</div>
</div>
</blockquote>
I wonder if we can use body in delete, currently , there isn't any
case used in v2/v3 api.<br>
<blockquote
cite="mid:CAH7mGatqU+cCq+T5wFg8Z_BQUCijtWWazsWfi09-4Y59DP5Mwg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>This question found when I review this spec:</div>
<a moz-do-not-send="true"
href="https://review.openstack.org/#/c/131633/6..7/specs/kilo/approved/judge-service-state-when-deleting.rst">https://review.openstack.org/#/c/131633/6..7/specs/kilo/approved/judge-service-state-when-deleting.rst</a><br>
<div><br>
</div>
<div>Think about use request body will have more benefit:</div>
<div>1. Request body can be validated by json-schema</div>
<div>2. json-schema can doc what can be accepted by the
parameter</div>
<div><br>
</div>
</div>
</blockquote>
<blockquote
cite="mid:CAH7mGatqU+cCq+T5wFg8Z_BQUCijtWWazsWfi09-4Y59DP5Mwg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Should we have guideline for this?</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Thanks,
Eli (Li Yong) Qiao</pre>
</body>
</html>