curl -u username:password -X DELETE http://api.blellow.com/{username}/messages/{message id}.json
curl -u username:password -F 'message[new_media_file_attributes][][uploaded_data]=@twoshuttlesA_1680.jpg' -F 'message[body]="Testing the Blellow API, file upload test."' http://api.blellow.com/{username}/messages.json
<?php $ch = curl_init("http://api.blellow.com/{posting username}/messages.xml");
$fp = fopen("tempfile", "w");setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FORBID_REUSE,1);
curl_setopt($ch, CURLOPT_USERPWD,"{username}:{password}");
curl_setopt($ch,CURLOPT_POSTFIELDS,array("message[body]"=>"%BlellowAPI Php message test."));
curl_exec($ch);
curl_close($ch);
fclose($fp);?>
<?php $ch = curl_init("http://api.blellow.com/{posting username}/messages.xml");
$fp = fopen("tempfile", "w");setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FORBID_REUSE,1);
curl_setopt($ch, CURLOPT_USERPWD,"{username}:{password}");
curl_setopt($ch,CURLOPT_POSTFIELDS,array("message[body]"=>"%BlellowAPI @joshsalverda I sent this from PHP just fine, I'll post the code at http://developers.blellow.com/developers/published/APIExamples","message[parent_node_id]"=>21161));
curl_exec($ch);
curl_close($ch);
fclose($fp);?>
Note: the example code above uses the curl library which you may need to add to your php installation.