implement put and post method for REST API
Merge branch 'develop' of https://github.com/nromanen/ch017 into develop