Fleshing out http interface