Copy link to clipboard
Copied
I have a webpage that currently allows users to browse to a local folder to upload a pdf file. I want to also allow users to "SUBMIT" directly from the PDF itself. I have:
What are the expectations tied to the URL?
I just want to submit this complete PDF directly to a webservice. Can i do this?
Any insight would be helpful.
Thanks!
Copy link to clipboard
Copied
The URL is that of a typical submit target (not a SOAP service etc.). It could be a PHP, ASP, CGI etc. It will receive headers and PDF data; it must parse headers and process the input data by reading it and (presumably) saving it somewhere. Be aware that if you want the contents of a filled in form this is about the hardest and most awkward way to get that info.
Copy link to clipboard
Copied
Thanks! So that makes sense. So if my website already has an existing POST, when a user manually browses to a local pdf and uploads the file, am i basically just pointing it to the post event?
Currently, I already have the parsing working when they manually upload the file, so I'm just trying to run it through a similar process..
Copy link to clipboard
Copied
Oh, and while you mention submitting from Acrobat Pro, be aware that if you want your users to submit from Acrobat READER there are many and complex limitations.
Copy link to clipboard
Copied
If you have an existing web script designed to handle POST, give it a try for this purpose. It may work. If not, you may need to parse the headers and see what is different.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now