2014-02-16 53 views
0

我試圖從json發佈請求中獲取標題內容。 但我似乎無法在請求處理程序中找到它的方法...Cakephp休息獲取標題

print_r($this->request);沒有顯示任何有用的信息。 我試過

$this->request['head']; 

$this->request['header']; 

$this->request->getHeaders; 

其中沒有工作

回答