An API that return ASCII cows (and other animals)
340
$ docker run -p 8000:8000 momirza/cowsayer
[2018-09-27 21:32:49 +0000] [1] [INFO] Starting gunicorn 19.9.0
[2018-09-27 21:32:49 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
[2018-09-27 21:32:49 +0000] [1] [INFO] Using worker: sync
[2018-09-27 21:32:49 +0000] [8] [INFO] Booting worker with pid: 8
$ curl -s -X "POST" "http://localhost:8000/cow/" \
-H 'Content-Type: application/json' \
-d $'{
"text": "Hello everyone!"
}' | xargs printf
_______________
< Hello everyone! >
===============
\
\
^__^
(oo)\_______
(__)\ )\/\
||----w |
|| ||
Available animals are:
Content type
Image
Digest
Size
30.5 MB
Last updated
about 8 years ago
docker pull momirza/cowsayer