# start container
sudo docker run -d -p 8080:8080 pdfcompare
# prepare request data
echo '{"pdf1":"'$(cat a.pdf | base64 -w 0)'", "pdf2":"'$(cat b.pdf | base64 -w 0)'"}' > data.json
# call service
curl http://localhost:8080/app/pdfcompare -s -X POST -d @data.json -o res.json
# get amount of pages with difference
cat res.json | jq .status
# get visual feedback
cat res.json | jq -r .pdf | base64 -d > res.pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
License
patrit/pdfcompare
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published