UrlEncodedFormEntity entity = new UrlEncodedFormEntity(valuePairList);
request.withEntity(entity);
}
return slingInstance.getRequestExecutor().execute(
request.withCredentials(slingInstance.getServerUsername(), slingInstance.getServerPassword())
).assertStatus(status).getContent();
}
private static String assertPostResource(SlingInstance slingInstance,
int status, String path, byte[] bytes) throws IOException {