compeleted the favorite RESTFUL API!