I\'m trying to make something the following server POST request using MultipartEntity:
parameters: {\"parameter1\"=>\"parameter1\", \"parameter2\"=>{\"sub_
Something like this:
MultipartEntity reqEntity = new MultipartEntity();
reqEntity.addPart("selectedGroup", new StringBody(group));
reqEntity.addPart("selectedService", new StringBody(service.toString()));
reqEntity.addPart("selectedTransformation", new StringBody(transformation.toString()));
reqEntity.addPart("projectId", new StringBody(projectId.toString()));
Check exapmle 8 of this link. Also exapmple 23 Example Site
Hope this helps you with your problem.