Adding methods to get the URL of the API call and to get set cURL options