How to upload multiple files using play framework 2.6 WsClient?

248 views Asked by At

This is the code for uploading Single file in as Play Documentation. Any Idea for Multiple Files?

ws.url(url) .post(Source(FilePart("hello", "hello.txt", Option("text/plain"), FileIO.fromPath(tmpFile.toPath)) :: DataPart("key", "value") :: List()))

0

There are 0 answers