0

我试图订阅推送通知

这是代码

`def subscribe(access_token):
  url = graph_endpoint.format('/subscriptions')
  d = {"changeType": "updated","notificationUrl": 
       "https://webhook.azurewebsites.net/api/send/myNotifyClient","resource": 
       "me/mailFolders('Inbox')/messages","clientState": 
       "secretClientValue","latestSupportedTlsVersion": 
       "v1_2"}
  r = make_api_call('POST',url, access_token,payload= d)`

响应代码是 400

访问令牌是正确的

另一个疑问是如何在 Outlook Webhook 中登录???如果有人知道在 Outlook 中创建推送通知的步骤,请分享....

4

0 回答 0