Dockerized stubby4j Hello World
.
- pull Docker image from Docker Hub
docker pull milanoid/stubby4j-docker
- start Docker image
docker start -p 8882:8882 stubby4j-docker
- hit the stub API with curl
curl -X POST http://localhost:8882/hello-world
<?xml version="1.0"?>
<hello-world>
<greeting>Hello, World!</greeting>
</hello-world>
curl http://localhost:8882/hello-world
{"hello world"}