* @return mixed false if request failed or content of the file as string if ok. True if file downloaded into $tofile successfully.
	*/
    public static function get_ws_deletetool($toolid)
    {
        global $CFG;
        defined('DELETE') || die('EvalCOMIX is not configured');
        $serverurl_aux = DELETE;
        $get = 'id=' . $toolid;
        $serverurl = $serverurl_aux . '?' . $get;
        //$result = download_file_content($serverurl);
        include_once $CFG->dirroot . '/blocks/evalcomix/classes/curl.class.php';
        $curl = new Curly();
        $response = $curl->get($serverurl);
        if ($response && $curl->getHttpCode() >= 200 && $curl->getHttpCode() < 400) {
            return $response;
 /**
  * check_url 
  */
 public function test_check_url()
 {
     $id = webservice_evalcomix_client::check_url('http://dipeval.uca.es');
     $this->assertNotNull($id);
 }