-
|
I am trying to send plain JSON to MatterMost because I need an interactive message in Mattermost and not just text. So, I set the settings notification url to The test notification fails with: Just to be sure I also tried the "unsafe" And, yes, it works with plain cURL: However, using the same URL in ChangeDetection says this is an invalid AppRise URL, so I have to use the Also, I tried to verify if it is due to the appended ... works just as fine Based on that, I tried a changedetection / APpRise URL to But then I get a 400 bad request instead of the 404. So, Note, otherwise these notifications work just fine of course, with my current |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hey, yeah should work.. but i dont have enough information (like your actual mattermost https url) to help.. try to paste here but change the secret keys to XXXX without knowing more info, we cant help i think
what URL exactly? can you be more clear? Yes, posts:// is the right one if it its POST you need
what query parameter? you didnt include any more info about this in your report, theres not enough info here |
Beta Was this translation helpful? Give feedback.
-
|
Meh, I am an idiot. The /hooks/ endpoint is correct but of course it needs proper JSON, which I missed in the body. |
Beta Was this translation helpful? Give feedback.
Sorry, my last reply crossed your reply, did not see it.
Yes it works, one just needs to add real JSON as well.
As for query parameter I mean the
?format=textappended to the notification url, but that's not the reason it doesn't workProblem solved by using
/hookssince this is apostsrequest it needs the real URL and adding proper JSON body.Sorry the noise.