public function actionIndexPost()
	{
		$cards 	= $this->loadDashboardCards();
		$id 	= Cii::get($_POST, 'id', false);
		$url 	= Cii::get($_POST, 'url', false);
		$data 	= Cii::get($_POST, 'details', false);

		if ($id === false || $url === false || $data == false)
			throw new CHttpException(400, Yii::t('Api.card', 'Invalid card data'));

		$values 		= $cards->value;
		$values[$id] 	= $url;
		$cards->value 	= CJSON::encode($values);

		$newCard 		= $this->loadCardDetailsModel($id);
		$newCard->value = CJSON::encode($data);

		// If we saved the card metadata
		if ($newCard->save())
		{
			// Try to save the card to the dashboard
			if ($cards->save())
				return true;

			// If that fails, delete the new card data, and throw the 400 error below
			$newCard->delete();
		}

		throw new CHttpException(500, Yii::t('Api.card', 'Card could not be saved.'));
	}