Build get handler of resource