zend-rest

    5熱度

    2回答

    隨着Zend Framework 1.9(及其1.9.2中的update)引入Zend_Rest_Route,我們現在爲路由請求提供了標準化的RESTful解決方案。截至2009年8月,沒有使用它的例子,只有參考指南中的基本文件。 雖然人們也許更簡單,比我承擔,我希望那些更有能力比我可能會提供一些例子說明在一個場景中使用Zend_Rest_Controller,其中: 某些控制器(如indexCo

    1熱度

    1回答

    我使用Zend_Rest_Client連接Zend_Rest_Server錯誤,似乎一切都還好吧,但是當我試圖獲得()從服務器我收到此錯誤: Zend_Http_Client_Adapter_Exception: Unable to Connect to tcp://localhost:80. Error #10060: A connection attempt failed because th

    0熱度

    1回答

    我想要做的是將$ rest-> apikey傳遞給我的Zend_Rest_Server。 empAction創建我的Zend_Rest_Server所需的數組。但在getByShortname($ id,$ apikey)中,我無法讀取$ apikey。他們查詢檢查API密鑰不會返回任何結果。 $rest = new Zend_Rest_Client('http://localhsot/api/e