Hi Rick, It really depends on the capabilities of your clients. If they are simple Web browsers, "application/x-www-form-urlencoded" might be more natural, if they are AJAX applications, JSON or XML might be easier to send and process on the server-side.
You could also support both formats if needed. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : Rick [mailto:[email protected]] Envoyé : mardi 5 mai 2009 23:11 À : [email protected] Objet : RE: Re: Good or Bad - MediaType Condition APPLICATION_WWW_FORM Hi Thierry, Ok. I kinda agree with you regarding adding this condition of mediatype. But my next question is which mediatype should be used. I know we can use either "text/xml" or "application/x-www-form-urlencoded". I'll really appreciate if you can provide everyone details about which one to use under what circumstances? Thanks! ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2072728 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2232312

