RESTful API client-side

implementation of client-side RESTful API