Cosay Web API.
$ curl "http://localhost:8080/say?m=Hello%20cowweb"
______________
< Hello cowweb >
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||--WWW |
|| ||
git clone https://github.com/hhiroshell/cowweb-go.git && cd cowweb-go
go build .
./cowweb serve
You can call the API via localhost:8080 .
curl "http://localhost:8080/say"
And you can specify a message using "m" query (special characters have to be URL encorded).
curl "http://localhost:8080/say?m=hello%20cowweb"