rest server used by resources