Preparation to be able to make the REST call.