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()))
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()))