Web code for a resource to expose HPF DB