I have this code on Restler and it returns 404 Not Found
class CRUDEntity {
/**
* @url GET /entity/{entity_id}/books/*
*/
function getBatch($entity_id) {
var_dump(func_get_args());
}
}
On the index page I have the following:
$r->addAPIClass('CRUDEntity','');
The idea is to get into the url /entity/1/books/10/12/13/14 but it returns the 404 error. Do you know how can I accomplish this?