Convert WEB to PDF API
This instruction is written for Convert WEB to PDF Plugin - API version 1.
URL:
http://pdfpirate.org/plugins/convert_WEB_to_PDF/apis/v1/convert_WEB_to_PDF.html
HTTP method:
URL-encoded POST
Parameters:
- format: Return download path in 'text' format.
- url: Web page address to convert.
Example query:
curl -F format=text -F url=http://wikipedia.org http://pdfpirate.org/plugins/convert_WEB_to_PDF/apis/v1/convert_WEB_to_PDF.html
Example response (text):
/storage/convert_WEB_to_PDF/a7f911d3-d693-4345-911b-69d47666bfbe/pdfpirate.org_WEB_to_PDF_converted.pdf
Caveats:
- In case of an error, string 'Error!' will be returned instead of the download path.
- Ignore the new line and white characters present before path in the response. This is a bug and it will be fixed in the next versions of API.
- If you want to use other instance of PDFpirate than pdfpirate.org, replace the domain part of the url above with the correct domain.