“返回格式”的版本间的差异

来自Chinese Ikoula Wiki
Jump to navigation Jump to search
第1行: 第1行:
 +
<span data-link_translate_ro_title="Format de retur"  data-link_translate_ro_url="Format+de+retur"></span>[[:ro:Format de retur]][[ro:Format de retur]]
 
<span data-link_translate_pl_title="Zwrotny formacie"  data-link_translate_pl_url="Zwrotny+formacie"></span>[[:pl:Zwrotny formacie]][[pl:Zwrotny formacie]]
 
<span data-link_translate_pl_title="Zwrotny formacie"  data-link_translate_pl_url="Zwrotny+formacie"></span>[[:pl:Zwrotny formacie]][[pl:Zwrotny formacie]]
 
<span data-link_translate_de_title="Rückgabeformat"  data-link_translate_de_url="R%C3%BCckgabeformat"></span>[[:de:Rückgabeformat]][[de:Rückgabeformat]]
 
<span data-link_translate_de_title="Rückgabeformat"  data-link_translate_de_url="R%C3%BCckgabeformat"></span>[[:de:Rückgabeformat]][[de:Rückgabeformat]]

2015年11月18日 (三) 16:43的版本

ro:Format de retur pl:Zwrotny formacie de:Rückgabeformat nl:Terugkeer formaat it:Formato di ritorno pt:Formato de retorno es:Formato de devolución en:Return format ru:Возвращает формат ja:戻り値の形式 ar:إعادة تنسيق fr:Format de retour

这篇文章是从由软件进行自动翻译。你可以看到这篇文章的源代码





介绍

IKoula API 提供了两种格式回答案 : XML & JSON

解释

每个 API 中可用的方法返回一个响应。
默认情况下,API 的返回是 XML。
它是可能通过一个额外的参数改变这种格式的回报 format设置为 JSON 要么 XML .如果您添加此参数,不要忘记添加以前的你的签名代 (请参阅 注意)

示例

下面是一些示例调用 GET :

默认 XML
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
所需的 XML
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&format=xml&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
所需的 JSON
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&format=json&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Attention

如果您指定返回的格式,则会将一个附加参数添加 API 调用。他不应忘记添加 前台 生成您的签名 (请参阅 WIKI 德 签名生成)



这篇文章似乎你要有用 ?

0




您未被允许发表评论。