In the study of Restler 3, in the see example curd, with Firefox rest client use get,post can, but with Put,delete appeared,
Find information on the Internet, in Microsoft Bing and yahoo (installed B ...), Baidu has looked for "405 Method not allowed" problem, but do not understand AH.
Last I saw before, Restler 3 has Restler API Explorer again , I just try to install Restler API Explorer to see, I install well between, I saw the swagger The method I wrote is listed in the UI.
:
My data:
I manipulated the delete operation, such as:
After the operation is completed:
,
Restler 3 db operation I was using respect\relational .
"405 Method not allowed" problem finally solved, can continue to see Restler 3 of the example, learning, hehe.
Restler 3 of GitHub address: Https://github.com/Luracast/Restler
Address of the Restler API Explorer: Https://github.com/Luracast/Restler-API-Explorer
PHP restler 405 Method not allowed problem solved