Skip to content

Instantly share code, notes, and snippets.

@DocumentAlchemy
Created April 19, 2016 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DocumentAlchemy/c8f2c3027a23edea718bc3c156f46958 to your computer and use it in GitHub Desktop.
Save DocumentAlchemy/c8f2c3027a23edea718bc3c156f46958 to your computer and use it in GitHub Desktop.
Example of a curl command to join two PDF documents using <https:/documentalchemy.com/>
curl -H "Authorization: da.key=403l1zh3dkbakyb9" \
-X POST \
-F "document=@TITLE-PAGE.PDF" \
-F "document=@DOC_BODY.PDF" \
https://documentalchemy.com/api/v1/documents/-/rendition/combined.pdf \
-o "combined.pdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment