Question : enable cors cakephp
Answered by : vi-ly
public function init_result() { header("Access-Control-Allow-Origin: *"); $this->result = array( 'status' => false, 'message' => __("please_provide_information"), 'params' => array(), );
}
Source : | Last Update : Wed, 27 Oct 21