add working rest api methods and example links in index.jsp