zymo Posted September 3, 2010 Share Posted September 3, 2010 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 Link to comment https://forums.phpfreaks.com/topic/212472-php-curl/ Share on other sites More sharing options...
petroz Posted September 3, 2010 Share Posted September 3, 2010 What kind of response are you getting now? Link to comment https://forums.phpfreaks.com/topic/212472-php-curl/#findComment-1107035 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.