Articles on: Documentation

Virtual File Server

ConvertAPI can be used as a virtual file server for all your files or web pages that need to be converted. The file is being converted on-demand whenever user clicks on the link. The result can be displayed in a web browser or downloaded.

Parameter "download"

The download parameter is mandatory and must be set in order to get the file as a request result.

download=inline - conversion result will be displayed in a browser
download=attachment - conversion result will be downloaded

Parameter download controls response "content-type" and "content-dispositon" header values:

Value of "download" parametercontent-typecontent-dispositon
not setdefaultnot set

URL passed as a query parameter must be percentage encoded (e.g. should be encoded as

<a href="" rel="nofollow">View page as PDF</a>
<a href="" rel="nofollow">Save page as PDF</a>
<a href="" rel="nofollow">Conversion response in XML format</a>

Updated on: 22/02/2024

Was this article helpful?

Share your feedback


Thank you!