add HTTP interface writing tuple  #17