You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Dinithi De Silva <di...@wso2.com> on 2015/05/12 06:20:47 UTC

Changing REST API method "removeDomainMappings"

Hi,

I am going to do $subject as follows.

In the current method, we pass the entire json string to remove a domain
mapping which is not really necessary.
After the modification, we need to send only the application name and the
domain name as path parameters to perform the operation.

Thanks
-- 
*Dinithi De Silva*
Associate Software Engineer, WSO2 Inc.
m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
| a: #20, Palm Grove, Colombo 03

Re: Changing REST API method "removeDomainMappings"

Posted by Dinithi De Silva <di...@wso2.com>.
Hi Udara,

Sorry I have missed the thread you mentioned. Thanks for the response and I
will continue with modifying the API method.

Thanks

On Tue, May 12, 2015 at 9:55 AM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi Dinithi,
>
> Please refer to the thread which discussed the similar topic in "Do we
> allow delete multiple resources in one request"
> DELETE does not need a payload at all.
>
> On Tue, May 12, 2015 at 9:50 AM, Dinithi De Silva <di...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I am going to do $subject as follows.
>>
>> In the current method, we pass the entire json string to remove a domain
>> mapping which is not really necessary.
>> After the modification, we need to send only the application name and the
>> domain name as path parameters to perform the operation.
>>
>> Thanks
>> --
>> *Dinithi De Silva*
>> Associate Software Engineer, WSO2 Inc.
>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>> | a: #20, Palm Grove, Colombo 03
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
*Dinithi De Silva*
Associate Software Engineer, WSO2 Inc.
m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
| a: #20, Palm Grove, Colombo 03

Re: Changing REST API method "removeDomainMappings"

Posted by Udara Liyanage <ud...@wso2.com>.
Hi Dinithi,

Please refer to the thread which discussed the similar topic in "Do we
allow delete multiple resources in one request"
DELETE does not need a payload at all.

On Tue, May 12, 2015 at 9:50 AM, Dinithi De Silva <di...@wso2.com> wrote:

> Hi,
>
> I am going to do $subject as follows.
>
> In the current method, we pass the entire json string to remove a domain
> mapping which is not really necessary.
> After the modification, we need to send only the application name and the
> domain name as path parameters to perform the operation.
>
> Thanks
> --
> *Dinithi De Silva*
> Associate Software Engineer, WSO2 Inc.
> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
> | a: #20, Palm Grove, Colombo 03
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897