[Seaside] viewing post requests to seaside..

Philippe Marschall philippe.marschall at gmail.com
Sun Sep 9 18:39:24 UTC 2012


On Sat, Sep 8, 2012 at 8:20 PM, sergio_101 <sergio.rrd at gmail.com> wrote:
> i am writing a facebook app in seaside, and i haven't fired it up in
> some time.. it looks like there is a new web server installed 'ZnZinc'
> .. everything seems to be running okay, but i am having a pretty
> simple issue..
>
> i am investigating the facebook authentication system..
>
> here's what happens:
>
> when you hit a facebook app, it sends a request to your app (which
> lives inside and iframe).. this app has some a post parameter that you
> need to retrieve and decode..
>
> while i write the tests and code for the decoding method, i would like
> to just grab the post parameters via a log of requests to the image..

You can easily access the request context through:

self requestContext request

> the next question will be..
>
> inside my application, i will need to grab this post under certain
> conditions.. how would i go about grabbing the post request inside my
> app?

This depends a bit on how and when this post comes in. Is it the first
request that "starts" the application?

Cheers
Philippe


More information about the seaside mailing list