wip on httpdb api