hi guyss want to ask related the webhook as a call...
# help
g
hi guyss want to ask related the webhook as a callback and i want to use a file as the body request like this
Copy code
"serveEventListeners": [
                {
                    "name": "webhook",
                    "parameters": {
                        "method": "POST",
                        "url": "<https://test.requestcatcher.com/callback/eagle>",
                        "headers": {
                            "Content-Type": "application/json"
                        },
                        "bodyFileName": "b2b/user/eagle/pefindo/callback-pefindo.json"
                    }
                }
            ]
but somehow the
bodyFileName
is not works, can someone help me?
l
Hi, the
bodyFileName
element is not supported in the web hook definition, just the
body
element.
g
so i need to minify the json with escaped character?
l
Unfortunately yes. It would be nice to support the
bodyFileName
and
jsonBody
elements but at the moment just
body
is supported
g
i seee, alright then thankyouu
👍 1