Hi,

I'm playing with Rails1.2.3 it contains a script "scaffold_resource" it generates RESTfully controller, model and view. you can get/put/delete/post XML data with simple URL and HTTP- protocol. I think it perfectly match with OpenLaszlo.

Rails also has capability of XML-data to rails-params parser when content-type is "application/xml".
But Dataset's POST content-type is "application/x-www-form-urlencoded".

I tried

ds.setQueryType("post");
ds.setHeader("contentType", "application/xml");
ds.doRequest();

But the contentType is still "application/x-www-form-urlencoded".

Is it possible to change the content-type with POST request??
Thank you.

-manabu togawa

Reply via email to