Hi,
It would help me a lot if I could post the contents of an HTML page (when converting it to a pdf) instead of having to supply a URL to a file. As well, for fillable pdfs, it would help to be able to post the xfdf data instead of referencing a file. Is that possible? If not, would you consider adding the option to do so for both HTML to PDF and when passing data to the fillable PDF api?
Thank you,
Customer
----------------------------------------------------------------
Thanks for your message, we have finished the "post" function to you, the POST URL is,
http://online.verypdf.com/api/post.php
You can use following simple HTML code to post a HTML file or HTML data to this URL, then you will get a PDF file on VeryPDF Server automatically,
<form enctype="multipart/form-data" action="http://online.verypdf.com/api/post.php" method="POST" target="_blank">
<input type="hidden" name="MAX_FILE_SIZE" value="5000000" />Send this file: <input name="uploadfile" type="file" />
<input type="hidden" name="apikey" value="MyAPIKey">
<input type="hidden" name="app" value="html2pdf">
<input type="hidden" name="outfile" value="out.pdf">
<input type="submit" value="Send File" />
</form>
Please notice, this is a HTML code, the apikey is shown to all of your users, this is an unsafe method, you should place your APIKEY to your server side, this will protect your APIKEY from abuse.
If this solution will okay to you, please feel free send to us the API URL for combine FDF and PDF files that you current using, we will integrate POST function for XFDF into "post.php" code asap.