Change By: Tolis Emmanouilidis (23/May/13 8:25 AM)
Description: I'm not sure if this is a bug.

I have exposed a REST service /aerogear-rest-service/rest/memberservice/remove

When using RestAdapter constructor for a DELETE operation:

RestAdapter<Member> pipe = new RestAdapter<Member>(Member.class, REST_REMOVE_URL);
pipe.remove("test", myCallback);

then the captured request seems to be: 

/aerogear-rest-service/rest/memberservice/remove?/test

BUT

When using Pipelines for the same purpose:

Pipeline pipeline = new Pipeline(REST_REMOVE_URL);
Pipe<Member> pipe = (RestAdapter<Member>)pipeline.pipe(Member.class);
pipe.remove("test", myCallback);

then the captured request seems to be:

/aerogear-rest-service/rest/memberservice/remove/member?/test

Shouldn't both requests be identical?
 Furthermore in both requests there is a question mark.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira