Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html code convert in pdf

curl -X POST https://api.pspdfkit.com/build 
  -H "Authorization: Bearer your_api_key_here" 
  -o result.pdf 
  --fail 
  -F index.html=@index.html 
  -F style.css=@style.css 
  -F instructions='{
      "parts": [
        {
          "html": "index.html",
          "assets": [
            "style.css"
          ]
        }
      ]
    }'
Source by pspdfkit.com #
 
PREVIOUS NEXT
Tagged: #html #code #convert #pdf
ADD COMMENT
Topic
Name
9+8 =