RESTModel: MyData: server: http://localhost:5000 type: application/json clientattrs: timeout: 5 then use it from any of your routes/controllers: