<html><body bgcolor="#FFFFFF">
<p><font size="2" face="sans-serif">Found something might be helpful for you </font><br>
<a href="http://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request"><font size="2" face="sans-serif">http://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request</font></a><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">Best Regards! <br>
<br>
Kevin (Chen) Ji 纪 晨<br>
<br>
Engineer, zVM Development, CSTL<br>
Notes: Chen CH Ji/China/IBM@IBMCN Internet: jichenjc@cn.ibm.com<br>
Phone: +86-10-82454158<br>
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC </font><br>
<br>
<img width="16" height="16" src="cid:1__=C7BBF73BDFB12B158f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for Eli Qiao ---12/08/2014 02:10:07 PM---在 2014年12月08日 13:13, Alex Xu 写道: > Hi,"><font size="2" color="#424282" face="sans-serif">Eli Qiao ---12/08/2014 02:10:07 PM---在 2014年12月08日 13:13, Alex Xu 写道: > Hi,</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Eli Qiao <taget@linux.vnet.ibm.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">12/08/2014 02:10 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">Re: [openstack-dev] [api] Using query string or request body to pass parameter</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<br>
<font size="3" face="serif">在 2014年12月08日 13:13, Alex Xu 写道:</font>
<ul style="padding-left: 36pt"><font size="3" face="serif">Hi,</font><br>
<br>
<font size="3" face="serif">I have question about using query string or request body for REST API.</font></ul>
<font size="3" face="serif">I wonder if we can use body in delete, currently , there isn't any case used in v2/v3 api.</font>
<ul style="padding-left: 36pt"><br>
<font size="3" face="serif">This question found when I review this spec:</font><br>
<a href="https://review.openstack.org/#/c/131633/6..7/specs/kilo/approved/judge-service-state-when-deleting.rst"><font size="3" color="#0000FF" face="serif"><u>https://review.openstack.org/#/c/131633/6..7/specs/kilo/approved/judge-service-state-when-deleting.rst</u></font></a><br>
<br>
<font size="3" face="serif">Think about use request body will have more benefit:</font><br>
<font size="3" face="serif">1. Request body can be validated by json-schema</font><br>
<font size="3" face="serif">2. json-schema can doc what can be accepted by the parameter</font><br>
<br>
<font size="3" face="serif">Should we have guideline for this?</font><br>
<font size="3" face="serif"><br>
</font><br>
<tt><font size="3">_______________________________________________<br>
OpenStack-dev mailing list<br>
</font></tt><a href="mailto:OpenStack-dev@lists.openstack.org"><tt><font size="3" color="#0000FF"><u>OpenStack-dev@lists.openstack.org</u></font></tt></a><tt><font size="3"><br>
</font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size="3" color="#0000FF"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></tt></a><tt><font size="3"><br>
</font></tt></ul>
<br>
<tt><font size="3">-- <br>
Thanks,<br>
Eli (Li Yong) Qiao</font></tt><tt><font size="2">_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org<br>
</font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>