Skip to main content
Participant
October 6, 2020
Question

Why PDF tool API reads only index.html ?

  • October 6, 2020
  • 1 reply
  • 430 views

I'm new to PDF tools API and understaood the overall flow.. however im just wondering why the input file shall always be indext.html and we always have to set a ZIP as a source. Is there any alternative way I can direclty pass my HTML or HTML content to convert to PDF ?

This topic has been closed for replies.

1 reply

Adobe Employee
October 19, 2020

@Healthiva5F85 Currently, our services expect the Zip in a certain format with a default index.html since, it needs to know which file within the zip is the root html file. All other resources within the zip are just helping build the entire html page. 

We would like to avoid external calls from the html page due to security reasons and thus all the referenced resources should be included within the zip file.