On Jun 14, 2012, at 11:25 PM, jbastos wrote:
> I''m using the default dispatcher.
>
>
Can you paste an example of how you are using them?
Here is how I've done it:
@cherrypy.tools.json_in()
def foo(self):
json = cherrypy.request.json
Eric
>
> On Thursday, June 14, 2012 5:28:08 PM UTC-3, Eric Larson wrote:
> [...]
>
> What dispatcher are you using? The tools won't work as decorators with the routes dispatcher, but they've worked for me using the default and method dispatcher.
>
>
> HTH,
>
> Eric
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/cherrypy-users/-/tEidp1GNNq4J.