I'm trying to build out a button that (among other things) will send a message to a Slack channel. Slack says they use an HTTP POST request so I built out the following but I can't seem to get it to talk to Slack. Can someone double check me and see if I missed something?
<abs contexttype="opengear" id="_top" keepalive="false">
<button buttontype="push" height="115" id="btn-help3" left="67" name="Request Help 3" top="55" width="227">
<task tasktype="ogscript">/*! block id=1002 !*/
ogscript.asyncHTTP("https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX", "POST", "application/json", "Translator is requesting help", null);
/*!!
<block id="1002" type="ogscript_async" x="1249" y="202" w="318" URL="https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX" METHOD="POST" TYPE="application/json" DATA="Translator is requesting help" CALLBACK="null" />
!!*/
/*!!<checksum>392260399d9cc37673c3d4dbd5a12204</checksum>!!*/</task>
</button>
</abs>
------------------------------
John Folsom
Director of Integration
------------------------------