Просмотр исходного кода

Update README.md

Adding local Cloud code REST example, the required URL and HTTP verb (POST) were not obvious.
moflo лет назад: 9
Родитель
Сommit
5ad8d00b2b
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -38,6 +38,12 @@ curl -X POST \
   -H "Content-Type: application/json" \
   -H "Content-Type: application/json" \
   -d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
   -d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
   http://localhost:1337/parse/classes/GameScore
   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:
 Example using it via JavaScript: