add rest api polling support

it seems here is forgotten unclosed ```<p>``` html markup ?