Modifications

Sauter à la navigation Sauter à la recherche
34 octets ajoutés ,  29 novembre 2014 à 20:59
Ligne 84 : Ligne 84 :     
=== Faire une requête sur l'API ===
 
=== Faire une requête sur l'API ===
Note that the API endpoint is 'led', not 'ledControl'. This is because the endpoint is defined by the first argument of Spark.function(), which is a string of characters, rather than the second argument, which is a function.
+
Note que le point de contact de l'API (''endpoint'') est est "led", et non "ledControl". This is because the endpoint is defined by the first argument of Spark.function(), which is a string of characters, rather than the second argument, which is a function.
    
The API request will look something like this:
 
The API request will look something like this:
29 861

modifications

Menu de navigation