HttpRequest request = HttpRequest.post("http://site.ru/");
request.part("param1", "1");
request.part("param2", "xxx");
request.part("file", new File("/test.txt"));
int status = request.code();
if(status == 200) {
System.out.println(request.body());
}