Hello,
I want to send a HipChat Message by using curl. The text in this message should have different colors.
Unfortunately it doesn't seem to work by using html tags and css styles. Isn't it implemented? I used following line:
curl -d '{"message": "<p style=\"color:green\"> test </p> next test", "notify ": false, "message_format":"html", "scope": "send_message"}' -H 'Content-Type: application/json' "https://api.hipchat.com/v2/user/[user]/message?auth_token=[token]"
I get a message by using it, but the message's color is all plain.
Thanks,
Viviane
Community moderators have prevented the ability to post new answers.
I think we filter the style attribute out of <p> tags, but it works with <span>s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.