This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -H "Authorization: da.key=403l1zh3dkbakyb9" \ | |
| -X POST \ | |
| -F "[email protected]" \ | |
| -F "document=@DOC_BODY.PDF" \ | |
| https://documentalchemy.com/api/v1/documents/-/rendition/combined.pdf \ | |
| -o "combined.pdf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Adds a cover page to one or more PDF documents. | |
| # USAGE: add-cover.sh <COVER-PAGE> <FILES> | |
| # | |
| # EXAMPLE: add-cover.sh cover.pdf doc/*.pdf | |
| # This is your DocumentAlchemy API key. It may be set via the | |
| # environment variable named `DA_API_KEY`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Adds a cover page to one or more PDF documents. | |
| # USAGE: add-cover.sh <COVER-PAGE> <FILES> | |
| # | |
| # EXAMPLE: add-cover.sh cover.pdf doc/*.pdf | |
| # This is your DocumentAlchemy API key. It may be set via the | |
| # environment variable named `DA_API_KEY`. |
OlderNewer