Added interface for HttpAPI