added REST API examples to README