I can import text from a PDF using
text = Import[filename, "Plaintext"];
I'd like to do the same thing using FormFunction, but am unsure how. I've tried the following:
FormFunction[ "file" -> "PDF", #file &, "Text" ]
which seems to import an image of the PDF. I've also tried
FormFunction["file" -> "Text", #file &, "Text" ]
which doesn't allow PDFs to be entered. Any advice would be greatly appreciated.