public ERXRestRequestNode create(Object obj, ERXKeyFilter filter, String entityName, String id, String action, ERXRestFormat format) throws HttpException, IOException {
return createObjectWithPath(obj, filter, path(entityName, id, action, format), format);
}
public ERXRestRequestNode createObjectWithPath(Object obj, ERXKeyFilter filter, String path, ERXRestFormat format) throws HttpException, IOException {
ERXRestRequestNode node = ERXRestRequestNode.requestNodeWithObjectAndFilter(obj, filter, _context);
ERXStringBufferRestResponse response = new ERXStringBufferRestResponse();
format.writer().appendToResponse(node, response, format.delegate(), _context);
HttpClient client = httpClient();
PostMethod updateObjectMethod = new PostMethod(new ERXMutableURL(_baseURL).appendPath(path).toExternalForm());