How to call REST APIs from Macro Scheduler (with JSON, headers, error handling)
TL;DR: Use HTTPRequest for GET/POST/PUT/PATCH/DELETE, set HTTP_POSTJSON=1 for JSON bodies, add HTTP_CUSTOM_HEADERS for auth, HTTP_TIMEOUT for reliability, and parse responses with JSONParse. Why call APIs from Macro Scheduler? Everything below runs in plain Macro Scheduler—no external dependencies. Quick start: GET a JSON endpoint POST JSON (with Bearer token) Custom headers, SSL/TLS & timeouts (reliability) Example: create a short link with a custom Open Graph preview […]