0

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?

Abdul Manaf
  • 4,643
  • 7
  • 45
  • 92

0 Answers0