hutchic on travis_exfiltrate
travis exfiltrate (compare)
hutchic on travis_exfiltrate
travis exfiltrate (compare)
Hi Ahmadrassri, now I am using this code
require_once 'Unirest.php';
Unirest\Request::verifyPeer(false);
$headers = array("Accept" => "application/json",
"X-Mashape-Key" => "ZTf4YXHi5smshQHhPVhwDeRhknqKp1jNhNijsnvkEeFFQec0iy",
"LicenseKey" => "211199128197402830749336334523067115421133147181202030745339948223080xxxxx");
$body = array("imageFile" => Unirest\File::add("yo.jpg"));
$response = Unirest\Request::post("https://eyeris-emovu1.p.mashape.com/api/image/", $headers, $body);
var_dump($response);
And I am getting this response from the server http://screencast.com/t/7eNeUOBZ
No more the error in finding the image, but not the response that I need...
Any idea?
<?php
require_once 'vendor/mashape/unirest-php/src/Unirest.php';
$response = Unirest\Request::get("https://webaroo-send-message-v1.p.mashape.com/sendMessage?message=asdddds&phone=9945297098",
array(
"X-Mashape-Key" => "my key",
"Accept" => "application/json"
),
array(
"txt" => "great value in its price range!"
)
);
var_dump($response);
?>