[Lift] Re: Problem to process a PUT request in a lift API

2009-10-24 Thread GA
Thanks David. You were right. I added this line: conn.addRequestProperty(content-type, text/xml) and it works perfectly. Thanks again. GA On Oct 23, 2009, at 7:36 PM, David Pollak wrote: In order to trigger XML parsing, you have to set the Content-Type to text/xml On Fri, Oct 23,

[Lift] Re: Problem to process a PUT request in a lift API

2009-10-23 Thread GA
I have printed Req in the log and it looks like the XML is really empty: Req(List(), Map(), ParsePath(List(api, person),,true,false), , PutRequest, Empty) This is how I send the XML: def post(url:URL):String = { val message = person userNameJohn/userName

[Lift] Re: Problem to process a PUT request in a lift API

2009-10-23 Thread David Pollak
In order to trigger XML parsing, you have to set the Content-Type to text/xml On Fri, Oct 23, 2009 at 10:30 AM, GA my_li...@me.com wrote: I have printed Req in the log and it looks like the XML is really empty: Req(List(), Map(), ParsePath(List(api, person),,true,false), , PutRequest,