this is my java rest api code
@POST
@Path("{imageTitle}/uploadPic")
@Produces("text/plain")
public Response uploadPic(Reader PicFile,
@PathParam("imageTitle") String imageTitle) {
String uploadPath = "/home/dev/";
//What is next..????
}
how to create a file using reader input?