Hi All,

Small concern. When a resource is deleted through a DELETE http method,
should there be a response body or should there not be a response body ?
The response body can contain the deleted resource.

If there is no response body, should it return a 204 (No Content) ?
If there is a response body, should it return a 200 (OK) ?

Please advice me on this.

Regards,
Hemika



Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +94777688882

On Sun, Mar 13, 2016 at 6:38 PM, Frank Leymann <[email protected]> wrote:

> Dear all,
>
> please find attached a document that compiles guidelines about creating
> RESTful APIs.  We worked out these guidelines over the last couple of
> months when building RESTful APIs for  API Manager and Enterprise Store
> Publisher; also Machine Learner helped shaping them.
>
> It might be helpful when you need to build a RESTful API for your product
> or feature.
>
> Best regards,
> Frank
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to