Better payload formatting
Better payload formatting

No reason to create your own params string.  Just use the hash form.

Also, this allows text with & symbols in it.  If you convert any < and > to &lt; and &gt; so they don't get parsed as links, this form of posting is required.
rikas/slack-poster