mitsuhiko/flask — Issue #338: TypeError in "Method Views for APIs"
Author: jzempel
Created: 2011-10-20 18:16:10+00:00
State: open

Following the example code in [Method Views for APIs](http://flask.pocoo.org/docs/views/#method-views-for-apis) results in:

```
TypeError: post() got an unexpected keyword argument 'user_id'
```

Either the `post()` method needs to take a `user_id` (probably doesn't make sense), or an HTTP POST needs its own url_rule.