The above mentioned section explains how to access various formats via 
active_scaffold.

Two of the examples given describe how to create new objects, e.g. by 
uploading an xml file:

PUT a new thing in XML
>    
>    - PUT http://my-server/things.xml
>
>
>    - data = <?xml version='1.0' 
>    encoding='UTF-8'?><record><designation>special 
>    thing</designation><quantity>3</quantity></record>
>
>
>    - content_type => :xml
>
> Isn't this wrong? Shouldn't this be POST and not PUT?
Regards, Michael


-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/activescaffold/-/UhzxVko-4kIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to