Re: How do I get the contents of POST variables?

2009-06-19 Thread Schley Andrew Kutz
ologies ~ Co-founder ~ http://www.noelios.com > > > -Message d'origine- > De : Schley Andrew Kutz [mailto:sak...@gmail.com] > Envoyé : vendredi 19 juin 2009 13:41 > À : discuss@restlet.tigris.org > Objet : Re: How do I get the contents of POST variables? > > I

RE: How do I get the contents of POST variables?

2009-06-19 Thread Jerome Louvel
http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -Message d'origine- De : Schley Andrew Kutz [mailto:sak...@gmail.com] Envoyé : vendredi 19 juin 2009 13:41 À : discuss@restlet.tigris.org Objet : Re: How do I get the contents of POST variables? I though

Re: How do I get the contents of POST variables?

2009-06-19 Thread Schley Andrew Kutz
I thought that the entity is what I should be looking at, thanks! I know that they are different, but some frameworks already provide a single call to fetch the data, and I have found it useful in the past. -- -a "Ideally, a code library must be immediately usable by naive developers, easil

Re: How do I get the contents of POST variables?

2009-06-19 Thread Thierry Boileau
Hello, if "entity" is the Representation sent via the POST request, you can parse it with a Form as follow: Form form = new Form(entity); If you want to get the cookies values, just call request#getCookies. For sure, there is a real distinction between the query part of an URI and the content