Using the code below, converter.insertFromHtmlString works, however if I use insertFromURL(url), converter.convert returns false. I’m passing in a httpRequest.getRequestUrl, so the URL string should be valid. I also streamed the html to a file, and used a file URL, and the convert method still returns false. Are there options I need to set? Is there a way to debug? I tried converter.getLog but it returned blank. Thanks.
HTML2PDF converter = new HTML2PDF();
converter.insertFromHtmlString(htmlString);
PDFDoc doc = new PDFDoc();
if (converter.convert(doc)){
Convert.toXod(doc, outputFilePath);
}