forked from RPTools/maptool
-
Notifications
You must be signed in to change notification settings - Fork 6
New Macros
Jamz edited this page Mar 5, 2019
·
4 revisions
Pulling in the various forum posts and wrap some real documentation around new macro functions in this fork....
Pass a URL string and it will return any data from that source. This will perform a GET request.
Sample:
[r: requestURL("http://www.gooogle.com")]
Pass a URL string and a payload and return any data from that source.
Sample:
[r: results = sendURL("https://discordapp.com/api/webhooks/yourkey/slack", json.set("{}", "text", "XP was just awarded!"))]