REST server for data transfer