initial commit of http polling endpoint