php Restler 405 Method Not Allowed 問題解決啦

來源:互聯網
上載者:User

標籤:style   blog   http   color   io   os   使用   ar   strong   

在學習Restler 3的時候,在看到 Example的CURD中,用Firefox的Rest Client使用GET,POST都可以,但是用PUT,DELETE出現了,

在網上找了資料,在微軟必應和Yahoo(裝B...),百度都找過了 "405 Method not Allowed"的問題了,但是看不懂呀。

最後我之前看到過,Restler 3有 Restler API Explorer來著的,我就嘗試的安裝了Restler API Explorer來看看,我安裝好之間,我就看到了Swagger UI中列出了我寫的方法。

:

我的資料:

我操作了DELETE操作,如:

操作完之後是:

,

Restler 3 中DB操作我是用 Respect\Relational

”405 Method Not Allowed“問題終於解決了,可以繼續看Restler 3的Example,學習了,嘻嘻。

Restler 3的github地址:https://github.com/Luracast/Restler

Restler API Explorer的地址:https://github.com/Luracast/Restler-API-Explorer

 

php Restler 405 Method Not Allowed 問題解決啦

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.