Added REST Endpoint Configuration - currently internal server error is thrown