XML is an envelope. HTTP too is an envelope.XML was meant to envelop data. But in SOAP, it envelops the message.
REST can restore xml to it’s rightful place.
So I’ve nothing against passing XML in the HTTP request, as long as the XML envelops the data, and is contained in a message envelopped by HTTP.
Nice article here.