Creating a widget via restful.