add learn020.py and learn021.py to show how to use the Restful api service