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,933
  • 8
  • 51
  • 95

0 Answers0