public function __construct($url, array $options = array()) { $this->setRequest(new POSTFile()); $this->setResponse(new JSON($this->Request->getCurlObject())); parent::__construct($url, $options); }