Hi Jerome-

I did try a number of variations:

// My original code:
ClientResource res = new ClientResource(Method.POST, uri);
Representation entity = res.post(null);

// with an empty Representation:
ClientResource res = new ClientResource(Method.POST, uri);
Representation entity = res.post(new EmptyRepresentation());

// with an empty Form representation:
ClientResource res = new ClientResource(Method.POST, uri);
Representation entity = res.post(new Form().getWebRepresentation();

none of which worked.  I'll try the updates in SVN soon.

-Dave

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

Reply via email to