REST call to select a theory