Incoming Webhook won't show any text


#1

Hi there

I set up an incoming webhook and copied the CURL text exactly, set it up in a .bat file and ran. This seems to be posting as expected however it does not show any text, even though I have the exact same “text” field from the clipboard example.

How do I get the post to show the message? I have tried both with and without a script that simply returns with “text” set as “request.content.text”.

If it’s relevant, we’re running on an internal on-premise server not online.

P.S. your clipboard example should remove the space between “Content-Type:” and “application/json” to work properly.

Thanks
Camille