put endpoints in resource file