pandoc-as-a-service executes the command with options specified in the url, with STDIN from HTTP request body, and returns STDOUT in HTTP response body.
- authenticate request
- limit rate
see GitHub project : https://github.com/hrkt/command-as-a-service/projects
- execute server.
$ docker run -p 8080:8080 hrkt/pandoc-as-a-service
- make HTTP POST request
$ curl "http://localhost:8080/usr/bin/pandoc?-f&markdown&-t&html" --dat-binary @testdata/sample.md
$ make build-container
$ make run-container
MIT