REST API with pecan