add the interface of the httpserver