Issue Type: Bug Bug
Affects Versions: 1.0.0
Assignee: Unassigned
Attachments: Pipeline_Pipe_remove.png, RestAdapter_Pipe_remove.png
Components: android
Created: 23/May/13 7:08 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 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.

Project: AeroGear
Priority: Major Major
Reporter: Tolis Emmanouilidis
Security Level: Public (Everyone can see)
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