This is an archived forum post. The information may be outdated. Contact us if you have any questions.

REST APIs - Adjusting PageWidth and PageHeight

tsaar wrote on 2013-06-23:
Can i use these commands on the REST APIs?
client.setPageWidth('8.5in')
client.setPageHeight('11in')
support wrote on 2013-06-24:
Hello,

The corresponding fields in the REST API are width and height. Here is a cURL example:
$ curl -F "username=***" -F "key=***" \
>      -F width=8.5in \
>      -F height=11.in \
>      -F 'src=http://www.google.com' \
>      http://pdfcrowd.com/api/pdf/convert/uri/ > google_com.pdf