I want to send "multipart/form-data" with file contents using Ajax.send
I'm trying to use FormData to construct entity:
val fd = new FormData
val aFile: File = ??? // - comes form a input element
fd.add("file", aFile, "filename")
and now I'm stuck as there is no converter from FormData to InputData required by Ajax.apply
is there a better way to do it?