i want following api code which is in php convert it into asp.net
plz help thanks in advance
<?php
$method="callme";
$cid="00002298";
$hash="b3d82197a147a3198fb88eb4840284c3";
$visitor_number="Request.QueryString("webvisitor")";
$owner_number="+9102240583810";
$conn_msg="en1"; // optional
$max_call_duration="60"; //optional
$poststring="method=". $method ."&cid=". $cid ."&hash=".
$hash ."&visitor=".
$visitor_number ."&owner=". $owner_number ."&conn_msg=". $conn_msg .
"&max_call_duration=" . $max_call_duration; // conn_msg and
max_call_duration parts
are optional
$url="https://sales2europe-com.ssl.eatserver.nl/callme_api.php";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"$url");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "$poststring");
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$return_text= curl_exec ($ch);
3
curl_close ($ch);
echo "<b>result:</b><br><br>$return_text<br><br>";
$return_array = explode(";",$return_text);
print_r($return_array);
?>
Regards gufran
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---