access to rest server