add Rest API coffeeScript