Updated Rest API configuration setup