0
次のカールクエリーをnode.jsリクエストにエンコードする必要があります。 私はそのフォームが仕事を行う必要があります知っているが、私はこのような「ペイロード=」たぶんcurlをnode.jsリクエストで書き直す
curl -X POST --data-urlencode 'payload={"channel": "#tutorial", "username": "webhookbot", "text": "This is posted to #tutorial and comes from a bot named webhookbot.", "icon_emoji": ":ghost:"}' https://hooks.slack.com/services/T5NGB8FE0/B6G57N86A/....
!ありがとうございました –