Hi Rodrigo,
if you want to send PUT requests from a web form, have a look at this =>
http://www.restlet.org/documentation/1.1/faq#19
If your target resource URI is "http://foo.com/bar", you can post your
web form to "http://foo.com/bar?method=put".
Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org <http://www.restlet.org/>
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
<http://www.noelios.com/>
Thank's Jérôme, but this example does not use Router or Resources.
I have a JSP that does submit a form for the service REST using Router and Resources.
"I can't understand" how to use Router and Resources with webform (JSP/HTML)
PUT and POST method.
Regards,
Rodrigo Kieffer
Wed, 17 Sep 2008 14:59:33 +0200, "Jerome Louvel" <[EMAIL PROTECTED]> escreveu:
Hi Rodrigo,
Could you check the sample code provided in the Restlet distribution? See
especially:
- org.restlet.example.misc.SimpleClient
- org.restlet.example.misc.SimpleServer
Best regards,
Jérôme Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-----Message d'origine-----
De : Rodrigo K. [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 11 septembre 2008 01:04
À : [email protected]
Objet : Problem with PUT / POST and web forms
Hi,
I'm having trouble making a PUT / POST a data
sent a web form, could please post a
example of how to do?
I'm using Restlet 1.0.10.
Thank's,
Rodrigo Kieffer
PS: Sorry for my English (Google Translator)