[add] generic and http interface