我正在尝试通过REST API删除日历事件,并返回400错误。
DELETE
网址:
https://outlook.office.com/api/v2.0/events/AQMkADA...URF1shGWDYAAAIBDQAAAOVip_uuQf5ApURF1shGWDYAAAAwSb9FAAAA
使用此code sample在PHP中生成调用。
$delete_url = $outlookApiUrl . $outlook_id;
$response = $this->makeApiCall($this->access_token, $this->email, 'DELETE', $delete_url);