add examples for rest api
Merge branch 'master' of https://github.com/Mimis/herodotus