[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] POST and GET request parameters from spiffy

From: Mario Domenech Goulart
Subject: Re: [Chicken-users] POST and GET request parameters from spiffy
Date: Tue, 08 Dec 2009 06:57:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)


On Sat, 14 Nov 2009 13:01:59 +0100 Christian Kellermann <address@hidden> wrote:

> * Michael Maul <address@hidden> [091113 22:38]:
>> Could someone describe how to access POS and GET parameters from inside
>> spiffy?
> (uri-query (request-uri (current-request)))) will get you the GET
> parameters as alist.  I am not sure about POST. In chicken3 there
> used to be a convenience function in spiffy-utils.

Beware that you should use uri-common's `uri-query' (not uri-generic's),
since intarweb's `request-uri' returns an uri-common object.

Best wishes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]