在 Microsoft Cognitive Service Web 搜索 API 中以 XML 格式输出

Output in XML format in Microsoft Cognitive Service web search API

我正在使用 R

中的 URL 在网络搜索 Api 中进行搜索

https://api.cognitive.microsoft.com/bing/v5.0/search?q=micropropagacion+empresa&mkt=es-AR&subscription-key= MI 密钥“

我正在获取 JSON 格式的信息,但我需要以 XMl 格式获取此信息

有人知道如何修改我的 URL 以获取此信息。

v5 网络搜索 API 仅支持 JSON 作为响应格式。 V2迁移指南中对此有明确的说明(https://msdn.microsoft.com/en-US/library/mt707570.aspx):

Version 5 supports only the JSON response format.