Get a Free Trial
GrabzIt's Online Community

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

Ask questions on how to capture or convert web pages or HTML into images, MP4. CSV, PDF or DOCX documents as well on how to convert videos into animated GIF's using our API.

There are no forum posts on this topic! Why don't you write one?

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 the 15th of February 2019

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 the 15th of February 2019

Duh!!

Thanks.

Answered by anonymous on the 15th of February 2019