如何获取 XML 格式的注册图形 API 结果



在 Register Graph API 文档站点 (https://developers.ir.ee/graph-api( 中,有一些示例用于以 JSON 格式获取 REST 服务的请求响应。是否也支持 XML?

在请求末尾添加后缀 .xml,如下所示(如果基本查询 https://graph.ir.ee/organizations/ee-10722958/members(:

curl -D- -X GET -H "Authorization: Basic XXXXX" -H "Content-Type: application/xml" https://graph.ir.ee/organizations/ee-10722958/members.xml

最新更新