0
在Register Graph API文檔站點(https://developers.ir.ee/graph-api)中,有一些用於以JSON格式獲取REST服務請求響應的示例。是否也支持XML?如何以XML格式獲取Register Graph API結果?
在Register Graph API文檔站點(https://developers.ir.ee/graph-api)中,有一些用於以JSON格式獲取REST服務請求響應的示例。是否也支持XML?如何以XML格式獲取Register Graph API結果?
添加後綴的.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
對於RDF/XML序列化使用.RDF後綴如在'捲曲-D- -X GET -H「授權:基本XXXXX」-H「內容類型:application/xml」https:// graph.ir.ee/organizations/ee-10722958/members.rdf' –