Here is a snippet of the client code:

...
final Representation rep = form.getWebRepresentation();
ClientResource householdResource = new 
ClientResource("http://localhost:8080/REST/household";);
final Representation representation = householdResource.post(rep);
...

The code on the server looks like:

@Post
public Representation postHousehold(final Representation entity) throws 
ResourceException 
{
   ....
}

I'm not using any extensions.  I'm simply trying to send a few String fields in 
a POST request to the server.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2681327

Reply via email to