Sending XML from Javascript

I am using Ajax to send XML to an action in one of my controllers. In
Firefox I can see that the XML is being sent. The Content-Type is text/
xml. This is the XML I am sending:

<?xml version="1.0" encoding="UTF-8"?> 09/26/07 Chris Griffin 123 Main St. Anytown MA (201) 555-1234 true

Looking at the request var. I can see that RAW_POST_DATA => “<>”. However it doesn’t show up in params. The action is getting
called. Isn’t rails supposed to recognize the XML and create a hash
from it?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs