added REST API and show JSON get method to post something on a task