REST API server for HDHT