add wink restclient function,util class