From 283de6240b81d869fab24faeac2a1d80948bc561 Mon Sep 17 00:00:00 2001 From: Martin <64530191+MrMartinR@users.noreply.github.com> Date: Sat, 2 Jul 2022 23:01:11 +0100 Subject: [PATCH] docs: fix json (#885) --- _includes/rest/hooks.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_includes/rest/hooks.md b/_includes/rest/hooks.md index 417dc1aa..0db8f4a3 100644 --- a/_includes/rest/hooks.md +++ b/_includes/rest/hooks.md @@ -220,7 +220,10 @@ and perform a `parse deploy` the usual way. To create a new function webhook post to /parse/hooks/functions with payload in the format ```jsonc -{"functionName" : x, "url" : y} +{ + "functionName": "foo", + "url": "https://api.example.com/foo" +} ``` Post example: