我正在尝试使用以下有效负载在非标准端口上创建订阅
{
"resource": "https://contoso.sharepoint.com/_api/web/lists('5C77031A-9621-4DFC-BB5D-57803A94E91D')",
"notificationUrl": "https://my.domain.com:1150/api/v1/webhook/handlerequest",
"expirationDateTime": "2019-04-30T00:00:00+00:00"
}
但是我得到以下错误响应
{
"error": {
"code": "-1, System.InvalidOperationException",
"message": {
"lang": "en-US",
"value": "Failed to validate the notification URL 'https://my.domain.com:1150/api/v1/webhook/handlerequest'."
}
}
}
但是另一方面,当我尝试创建不带端口“ 1150”的订阅时,它会成功创建。