Thanks for the details.

Regards,
Hemika

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

Mobile : +94777688882

On Wed, May 4, 2016 at 5:07 PM, Sagara Gunathunga <[email protected]> wrote:

>
>
> On Wed, May 4, 2016 at 4:47 PM, Hemika Kodikara <[email protected]> wrote:
>
>> 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.
>>
>
> HTH
> http://stackoverflow.com/questions/2342579/http-status-code-for-update-and-delete
>
>
> Thanks !
>
>>
>> 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
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Architect; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;    http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
> _______________________________________________
> 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