Closed raghava closed 11 years ago
Ratelimiter works on class-basis so you can have different limits for e.g. Employees / Bots / Customers. Supply a class in your auth or do not use ratelimiting
Thanks, I have changed the $components to
public $components = array (
'RequestHandler',
'Rest.Rest' => array(
'catchredir' => true,
'actions' => array(
'extract' => array(
'index' => array('users'),
),
),
'log' => array(
'pretty' => true,
),
'ratelimit' => array(
'enable' => false
),
),
);
"Unable to establish class" feedback is not showing up now.
But why I'm not getting the "users" values in the XML from index() action?
unable to determine by this snippet
// routes.php
// Add an element for each controller that you want to open up
// in the REST API
Router::mapResources(array('rests'));
// Add XML + JSON to your parseExtensions
Router::parseExtensions('json', 'xml');
Provide also your php/cakePHP versions - so we can setup a similar case
CakePHP version is 2.2.2
I am facing the same problem. The data are not being built in xml.
Cake version: 2.1.0
Whats wrong with the code. Getting 'Unable to establish class' in the response and data node shows empty instead ?