“返回格式”的版本间的差异
Jump to navigation
Jump to search
第1行: | 第1行: | ||
+ | <span data-link_translate_nl_title="Terugkeer formaat" data-link_translate_nl_url="Terugkeer+formaat"></span>[[:nl:Terugkeer formaat]][[nl:Terugkeer formaat]] | ||
<span data-link_translate_it_title="Formato di ritorno" data-link_translate_it_url="Formato+di+ritorno"></span>[[:it:Formato di ritorno]][[it:Formato di ritorno]] | <span data-link_translate_it_title="Formato di ritorno" data-link_translate_it_url="Formato+di+ritorno"></span>[[:it:Formato di ritorno]][[it:Formato di ritorno]] | ||
<span data-link_translate_pt_title="Formato de retorno" data-link_translate_pt_url="Formato+de+retorno"></span>[[:pt:Formato de retorno]][[pt:Formato de retorno]] | <span data-link_translate_pt_title="Formato de retorno" data-link_translate_pt_url="Formato+de+retorno"></span>[[:pt:Formato de retorno]][[pt:Formato de retorno]] |
2015年11月18日 (三) 16:43的版本
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
开启评论自动刷新