Created
April 28, 2022 03:55
-
-
Save camrobert/6bba18f60db678137cc1aa47470ceacf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
SET @payload = '{"text":"Hello from SFMC!"}' | |
SET @post = HTTPPOST2('https://hooks.slack.com/services/xxxxxxxxx/yyyyyyyyyyyy/zzzzzzzzzzzzzzz','text/plain',@payload,true,@output,@header) | |
]%% | |
@post= %%=v(@post)=%% <br> | |
@output= %%=v(@output)=%% <br> | |
@header= %%=v(@header)=%% <br> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment