Closed wisejoy7 closed 7 years ago
I tried another project but again got 0kb output with nothing in it. Please tell me what is the cause of the issue. Do we need any extra permissions enabled in PHP.
Thanks!
I'm almost 100% sure that it's something in your input. The API is working fine. You can confirm this by running this command on a linux or mac:
curl \
http://c.docverter.com/convert \
-F from=html \
-F to=pdf \
-F input_files[]=@<(echo hello) > out.pdf
out.pdf
will be a PDF that just says "hello".
I have been trying to convert files using the same code that was working yesterday but the files give 0 KB output on conversion. Following is my code:
So is it an issue on my end or is it that API is down? You can find samexhtml here.