porting from curl to slack-poster