Send xml over curl

Vsemkoma

New Member
I'm using a web interface that allows me to post stuff over a curl request.A sample post looks like this:\[code\]<status>A note</status>\[/code\]But whenever I try to send this, it seems to not accept the XML\[code\]curl http://website.com/update -d '<?xml version="1.0" encoding="UTF-8"?><status>test</status>' -H 'Accept: application/xml' \ -H 'Content-Type: application/xml' -u username:password\[/code\]I can do any other type of requests, just sending this XML doesn't seem to work, am I doing something wrong here?
 
Back
Top