outlook api php添加事件

时间:2016-10-12 16:16:47

标签: api outlook

我尝试在php中添加一个事件:这个表单看起来像:

<form class="form"  method="POST">  
    date  : <input type="text" name="date" placeholder="AAAA-MM-JJ" />
    start : <input type="text" name="startTime" />
    end   : <input type="text" name="endTime" />
    Sujet : <input type="text" name="subject" />
    Description : <input type="text" name="description" />      
    <button type="submit" name="add"> Ajouter évenement </button>
</form>

1 个答案:

答案 0 :(得分:0)

$cSession = curl_init();

curl_setopt($cSession,CURLOPT_URL,"http://myremotesite.com/admin/profit");
curl_setopt($cSession, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cSession, CURLOPT_HEADER, false);

$result = curl_exec($cSession);
echo $result;