You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Minh Tien Hoang <mi...@fundp.ac.be> on 2012/04/26 16:52:26 UTC

Supporting of PUT, DELETE with proxify

Dear all,
It seems that we have only GET and POST with proxify. Do we intent to support PUT, DELETE ? or is there any specific reason for not using those operations with widgets ?
Best,
Tien.

Re: Supporting of PUT, DELETE with proxify

Posted by Minh Tien Hoang <mi...@fundp.ac.be>.
On 26 Apr 2012, at 17:11, Scott Wilson wrote:

> On 26 Apr 2012, at 15:52, Minh Tien Hoang wrote:
> 
>> Dear all,
>> It seems that we have only GET and POST with proxify. Do we intent to support PUT, DELETE ? or is there any specific reason for not using those operations with widgets ?
> 
> The only reasons I can think of are that most browsers will not send any query parameters with a PUT or DELETE request, though thats not a reason to not support it, just that you would need to write a slightly different implementation than the one already there for GET and POST.

Thank you Scott, some time we need to invoke a REST service from widget so I think it would be better to let them in. 
Tien.

>> Best,
>> Tien.
> 


Re: Supporting of PUT, DELETE with proxify

Posted by Scott Wilson <sc...@gmail.com>.
On 26 Apr 2012, at 15:52, Minh Tien Hoang wrote:

> Dear all,
> It seems that we have only GET and POST with proxify. Do we intent to support PUT, DELETE ? or is there any specific reason for not using those operations with widgets ?

The only reasons I can think of are that most browsers will not send any query parameters with a PUT or DELETE request, though thats not a reason to not support it, just that you would need to write a slightly different implementation than the one already there for GET and POST.

> Best,
> Tien.