[VeryPDF Cloud API] Allow user to POST a file for conversion and GET with a remote URL file for conversion

VeryPDF Online Cloud API has added a new function to allow user to upload files via POST method for further converting or processing, you can try this function from following web page,

http://online.verypdf.com/api/postform.php

Here is the sample source code for upload a file to VeryPDF File Server,

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

After you upload a file to VeryPDF File Server, you will get following information,

[Upload_URL] http://online.verypdf.com/u/public/api/20140516-040108-576594747.txt
[DeleteFile] http://online.verypdf.com/api/?apikey=XXXX-XXX-XXX-XXX&app=deletefile&infile=http://online.verypdf.com/u/public/api/20140516-040108-576594747.txt

"[Upload_URL]" is the URL for just uploaded file, you can pass this URL to VeryPDF Cloud API for converting or processing.

"[DeleteFile]" is the URL to delete this just uploaded file, you can execute this URL to delete this file from VeryPDF File Server permanently.

For more information about VeryPDF Cloud API, please look at its product page,

http://www.verypdf.com/online/cloud-api/index.html

学校 Relevant Articles:

How to delete temporary file from VeryPDF Cloud API server?

http://www.verypdf.com/wordpress/201310/how-to-get-verypdf-cloud-api-response-39104.html

http://www.verypdf.com/wordpress/201310/how-to-execute-verypdf-cloud-api-from-aspx-language-or-net-language-39011.html

http://www.verypdf.com/wordpress/201309/verypdf-cloud-api-app-name-deletefile-delete-temporary-files-and-convert-pdf-files-to-as3-swf-files-38685.html

VN:F [1.9.20_1166]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
[VeryPDF Cloud API] Allow user to POST a file for conversion and GET with a remote URL file for conversion, 10.0 out of 10 based on 2 ratings

Related Posts

This entry was posted in VeryPDF Cloud API and tagged . Bookmark the permalink.

One Response to [VeryPDF Cloud API] Allow user to POST a file for conversion and GET with a remote URL file for conversion

  1. VeryPDF says:

    >>I was wondering if you had a part of the doc2any api where I could post the
    file rather than providing a download URL. This is because I do not want
    to expose the file to a URl where it can be accessed by the public.

    Yes, the POST method is supported by VeryPDF Cloud API now.

    >>Is there any intentions to allow posting files to the API urls rather than using GET requests with a download URL?

    VeryPDF Cloud API is support both POST and GET methods now, please look at this article for more information.

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!