Skip to content

Commit 5ad8d00

Browse files
committed
Update README.md
Adding local Cloud code REST example, the required URL and HTTP verb (POST) were not obvious.
1 parent b37f965 commit 5ad8d00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ curl -X POST \
3838
-H "Content-Type: application/json" \
3939
-d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
4040
http://localhost:1337/parse/classes/GameScore
41+
42+
curl -X POST \
43+
-H "X-Parse-Application-Id: myAppId" \
44+
-H "Content-Type: application/json" \
45+
-d '{}' \
46+
http://localhost:1337/parse/functions/hello
4147
```
4248

4349
Example using it via JavaScript:

0 commit comments

Comments
 (0)