[Grok-dev] Re: Using POST request
Martijn Faassen
faassen at startifact.com
Fri Mar 21 13:59:53 EDT 2008
Andreas Jung wrote:
[snip]
> Only POST. All other views using GET work as expected.
I'm also somewhat surprised that GET worked before the grok.layer()
statement was in place on the grok.REST views. So you're saying this works?
class MyREST2(grok.REST):
grok.context(eggserver)
grok.layer(MyPubLayer)
def GET(self):
import pdb; pdb.set_trace()
Regards,
Martijn
More information about the Grok-dev
mailing list