Jump to content

PHP & Curl


zymo

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.