Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

My content seems not parsable

$
0
0

Hello,

I try to send this kind of message in one of my incoming webhook:

curl -XPOST -d 'payload={"username":"Tuleap","text":"User #101 pushed a new commit on : < https://tuleap_web_1.tuleap-aio-dev.docker/plugins/git/test/Test?p=Test.git&a=commitdiff&h=be2f1b2cec485e5ab0b2961f30b55fad086c413a|Test > refs/heads/master"}' 'URL_WEBHOOK'

My mattermost returns:
{"id":"web.incoming_webhook.parse.app_error","message":"Unable to parse incoming data","detailed_error":"","status_code":500,"is_oauth":false}

However with more simple URL in my text, all is OK:
curl -XPOST -d 'payload={"username":"Tuleap","text":"User #101 pushed a new commit on : < https://example.com|Test > refs/heads/master"}' 'URL_WEBHOOK'

What can I do in order to have my request with the complex URL working?

PS : I add space around the link to not hide the characters < and >

Thanks.


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>