API for converting PDFs into an array of PNGs. Works in tandem with carve-worker.
curl https://carve-api.herokuapp.com/api/v0/documents/create.json?url=http://mot.la/assets/resume.pdf&webhook=http://requestb.in/some-request-bin-url
View the documentation.
git clone https://github.com/motdotla/carve-api.git
cd carve-api
go get
cp .env.example .env
go run app.go
Edit the contents of .env
.
- validation on webhook and url
- url cleansing on webhook and url