从php到vb.net的转换
我需要将这段代码从php转换为vb.net。有什么想法吗从php到vb.net的转换,php,vb.net,Php,Vb.net,我需要将这段代码从php转换为vb.net。有什么想法吗 $this->load->library('curl'); $this->curl->create('http://abc.com'); $jsonstr = '{"data": [{ "campaign_id":"5", "owner_id":"0",
$this->load->library('curl');
$this->curl->create('http://abc.com');
$jsonstr = '{"data":
[{
"campaign_id":"5",
"owner_id":"0",
"status":"unassigned"
},
{
"campaign_id":"5",
"owner_id":"0",
"status":"unassigned"
]}';
$this->curl->post(array(
'insuranceleads' => $jsonstr
));
$result = $this->curl->execute();
echo $result;
Curl是一个可执行文件。要从.NET使用它,您可以启动一个进程对象并运行它。我相信PHP封装了它,因为我不相信您可以将Curl作为库使用