I am trying to send the following curl command using PHP but I have so far been unsuccessful, any help would be appreciated :-)
curl -u 1fd7b89be6f3533d7:X -H 'Content-Type:application/xml' -d '<message><body>Test using the API</body></message>' http://someurl.com
The purpose of this script is to automatically send a message to a campfire chatroom for a PHPUnit script using Selenium