I have a GET() controller to retrieve a list of entities. I want to pass a parameter to the action to filter the list of objects returned as follows:

```
Mysite.com/Users?nameContains=john

```

This is my action definition:

```
public IEnumerable<object> Get(string nameContains)
{
    // I want to use nameContains here
}

```

I get an error:

> 
> The requested resource does not support http method 'GET'.
> 
> 
> 

If I revert the method to not get that parameter, it works.