-
Notifications
You must be signed in to change notification settings - Fork 231
Docker
Michael Salaverry edited this page Nov 28, 2022
·
1 revision
How to get started with the docker image:
Start up docconv as a server on port 8888
docker run --rm -p 8888:8888 sajari/docd docd
Send your first request (perhaps using a file from the test data included in this repo)
$ curl --request POST \
--url http://localhost:8888/convert \
--header 'Content-Type: multipart/form-data' \
--form input=@/home/your/Downloads/sample.pptx
You will get something like
{
"body": "Get text from pptx\n\n\n\n\n\n\nFirst\nSecond\nThird",
"meta": {},
"msecs": 1,
"error": ""
}
back