The REST server