Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
protocole_json [2013/07/16 08:26] admin [get_ip] |
protocole_json [2014/04/23 13:50] admin [poll_listen] |
||
---|---|---|---|
Line 392: | Line 392: | ||
} | } | ||
+ | ==== config ==== | ||
+ | |||
+ | Cette commande permet de lire/ecrire la config au travers du protocole json. | ||
+ | |||
+ | === get === | ||
+ | |||
+ | Pour recuperer la config il faut faire: | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | |||
+ | On recevra en réponse les fichier xml dans le json | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | |||
+ | === put === | ||
+ | |||
+ | Pour recuperer la config il faut faire: | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | |||
+ | Réponse: | ||
+ | { | ||
+ | " | ||
+ | } |