Tools to Capture and Convert the Web
GrabzIt's Online Community

ConvertURL Create format pdf or docx not working - JPG always produced

Hi team,

Testing the API using GrabzIt("key").ConvertURL(url).Create({"format":"pdf","download":1});

And a JPG file is always created.

Asked by anonymous on Friday, 15 February, 2019 04:25:03 AM

Hi!

Your options need to go in the ConvertUrl method not the Create method as shown in the JavaScript documentation. For example:

GrabzIt("Key").ConvertURL("http://www.google.com", 
{"format": "pdf", "download": 1}).Create();
Answered by GrabzIt Support on Friday, 15 February, 2019 07:26:44 AM

Duh!!

Thanks.

Answered by anonymous on Friday, 15 February, 2019 08:13:02 PM