added restful method support for app widget