I have a rest Api like below.
@POST
@Path("/importFile")
@Consumes("application/zip")
@ApiOperation(value = "Importing File")
public List<String> importFile(InputStream is) throws IOException {
ZipInputStream zipInputStream = new ZipInputStream(is);
return importFile(zipInputStream);
}
How can I test it ?
Aucun commentaire:
Enregistrer un commentaire