RequestId 和 instanceId Bing 语音识别

RequestId and instanceId Bing Speech Recognition

我正在尝试使用 bing 语音发送文本 api,除了 requestid 和 instanceid 之外,我已经设置了所有内容。 api 告诉我它们是什么,但没有告诉我如何得到它们,有人能帮我吗?这非常令人沮丧,我不知道该怎么办

我也有一个错误:

WebException: The remote server returned an error: (400) Unable to get requestid from the query string..

我不明白从哪里获取请求 ID,所以我在 example 中取了一个,它有效:

string url = "https://speech.platform.bing.com/speech/recognition/interactive/cognitiveservices/v1?language=en-US&requestid=39530efe-5677-416a-98b0-93e13ec93c2b";