Sha256: 9ece9f861b399f2f68dd71358f2141b0e4df040fbca0028079fea45d1d585ac3
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
#!/bin/bash if [[ "$DOCVERTER_API_URL" == "" ]]; then export DOCVERTER_API_URL=http://localhost:9595/convert fi curl --form from=html \ --form to=pdf \ --form test_mode=true \ --form input_files[]=@input.html \ --form other_files[]=@stylesheet.css \ --form other_files[]=@marcellus.ttf \ --form other_files[]=@imfeldoublepica.ttf \ $DOCVERTER_API_URL > html_to_pdf.pdf echo html_to_pdf.pdf
Version data entries
3 entries across 3 versions & 1 rubygems