使用Microsoft Azure 媒体服务通道 API 时,应如何格式化其 Rest API ?



我一直在通读Microsoft Azure 文档,理想化地说明了在调用 Azure Media Services REST API for Channels Microsoft时应该如何格式化字符串。 文档规定格式应如下:

https://<accountname>.restv2.<location>.media.azure.net/api/Channels

因此,据我了解,这需要更改为:

https://genericAccountName.restv2.eastus.media.azure.net/api/Channels(‘genericChannelName’)

我的问题是,我是否需要删除 URI 中的任何引号或括号才能访问通道 API?

文档中的示例:

POST https://testrest.cloudapp.net/api/Channels('nb:chid:UUID:2c30f424-ab90-40c6-ba41-52a993e9d393'(/Start HTTP/1.1

所以你需要 ' 在 ID 名称周围。

最新更新