Enabling REST api calls