How to give string in the url in RESTful api in Cakephp?
问题 As per the this Cakephp CookBook the simple setup for RESTful api : HTTP Method URL.method Controller action invoked GET /recipes*.method* RecipesController::index() GET /recipes/123.method RecipesController::view(123) POST /recipes*.method* RecipesController::add() PUT /recipes/123*.method* RecipesController::edit(123) DELETE /recipes/123.method RecipesController::delete(123) POST /recipes/123*.method* RecipesController::edit(123) here all the URL parameters are numeric i.e 123. When I tried