Post XML using HTTP request

Can I post an xml document using the HTTP request?

I think not…And why would you?

To send commands to a device. Device can be configured by sending HTTP POST with an XML file. So that’s why.

Command line example:

curl -T mycommand.xml http://user:password@ipaddress:port/Operation/1