戻り値の形式
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
ja:戻り値の形式
he:תבנית החזרה
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:Возвращает формат
ar:إعادة تنسيق
zh:返回格式
fr:Format de retour
この記事は、自動翻訳ソフトウェアで行うからです。 記事のソースはここを参照してくださいすることができます。
はじめに
IKoula API は、回答のための 2 つの形式を提供しています : 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
コメントの自動更新を有効化