How can I use the web service with one or none arguments? I have a web service with the Services module that works perfectly, with an URL like myweb.com\api\my_conent\124 I obtain the information of my_content that has the 124 id.

Now with the URL myweb.com\api\my_content I want to obtain all the contents of my_content, but it doesn't return anything, a blank page. I have the 'optional' =&gt; TRUE, for the arguments.

How can I use the web service with one or none arguments?
Do you have an 'index' operation?
Take a look at the services.services.api.php file in services module, docs folder.

In the node resource, you have several different 'operations' ( retrieve, create, update &amp; index, .. ).
Here's the snippet you should look at:

$node_resource = array(
    'node' =&gt; array(
      'operations' =&gt; array(
        ..
        'index' =&gt; array(
          'file' =&gt; array('type' =&gt; 'inc', 'module' =&gt; 'services', 'name' =&gt; 'resources/node_resource'),
          'callback' =&gt; '_node_resource_index',
          ..
        ),
      ),
    ),
  );
  return $node_resource;


GET request to endpoint + resource will trigger 'index'. Read more about it here https://drupal.org/node/783254