public function getResponseText() { if ($this->isSuccessful()) { return 'success'; } else { return 'fail'; } }