Skip to content

Commit 283de62

Browse files
authored
docs: fix json (#885)
1 parent bda8566 commit 283de62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_includes/rest/hooks.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ and perform a `parse deploy` the usual way.
220220
To create a new function webhook post to <code class="highlighter-rouge"><span class="custom-parse-server-mount">/parse/</span>hooks/functions</code> with payload in the format
221221

222222
```jsonc
223-
{"functionName" : x, "url" : y}
223+
{
224+
"functionName": "foo",
225+
"url": "https://api.example.com/foo"
226+
}
224227
```
225228

226229
Post example:

0 commit comments

Comments
 (0)