public function send($url, $curled = true)
    {
        $this->setUrl($url);

        $result = ($this->isCurlExists() && $curled === true)
            ? $this->curl()
            : $this->simple();

        return $this->interpretResponse($result);
    }
public function send($url, $curled = true)
    {
        $this->setUrl($url);

        $result = ($this->isCurlExists() && $curled === true)
            ? $this->curl()
            : $this->simple();

        return $this->interpretResponse($result);
    }
public function send ( $ url , $ curled = true ) { $ this -> setUrl ( $ url ) ; $ result = ( $ this -> isCurlExists ( ) && $ curled === true ) ? $ this -> curl ( ) : $ this -> simple ( ) ; return $ this -> interpretResponse ( $ result ) ; }
Run the request and get response.

@param  string  $url
@param  bool    $curled

@return array
Run the request and get response .