Explorar el Código

Update README.md

Adding local Cloud code REST example, the required URL and HTTP verb (POST) were not obvious.
moflo hace 10 años
padre
commit
5ad8d00b2b
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -38,6 +38,12 @@ curl -X POST \
   -H "Content-Type: application/json" \
   -d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
   http://localhost:1337/parse/classes/GameScore
+  
+curl -X POST \
+  -H "X-Parse-Application-Id: myAppId" \
+  -H "Content-Type: application/json" \
+  -d '{}' \
+  http://localhost:1337/parse/functions/hello
 ```
 
 Example using it via JavaScript: