I have defined a file upload method which supports multiple files upload:
public static Result upload() {
MultipartFormData body = request().body().asMultipartFormData();
FilePart file1 = body.getFile("filePart1");
FilePart file2 = body.getFile("filePart2");
.....
.....
}
I would like to test this REST API and I am not sure how to do it.
Could someone help me on how to test it?
download the POSTMAN plugin from chrome webstore
its going to be depercated from webstore better to download from this link