Update example.md

--show how to access the endpoint of the tomcat container