Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:protocole_json [2014/05/20 08:44]
admin [Wget Example]
en:protocole_json [2017/03/20 11:16]
mifrey [Testing]
Line 11: Line 11:
 ===== Testing ===== ===== Testing =====
  
 +==== Wget ====
 It is possible to test the API using command line tools like [[http://en.wikipedia.org/wiki/Wget|Wget]] or [[http://en.wikipedia.org/wiki/CURL|cURL]] It is possible to test the API using command line tools like [[http://en.wikipedia.org/wiki/Wget|Wget]] or [[http://en.wikipedia.org/wiki/CURL|cURL]]
- 
-==== Wget Example ==== 
  
 Data in JSON format are placed in the file //query.json//. The resulting file will then be //result.json//. Data in JSON format are placed in the file //query.json//. The resulting file will then be //result.json//.
Line 19: Line 18:
   wget --no-check-certificate --post-file query.json --output-document result.json https://ip_address/api.php   wget --no-check-certificate --post-file query.json --output-document result.json https://ip_address/api.php
  
 +==== Use the API with other languages ====
 +
 +  * [[json_python2|Python 2]]
 +  * [[json_python3|Python 3]]
  
 ===== API Calaos Network ===== ===== API Calaos Network =====