sendAjax - POST

sendAjax sends POST requests to an API
sendAjax(URL, { "template_id": "5fb24900c044b60f4a8758c1", "data": { "USERNAME": "Nexweaver" } }, "POST", "console.log(data)",{"X-API-KEY": API-KEY}) Parameters: URL: url for the API you are calling Body: Post body for a sendAjax POST request (null or {} for GET request) Method: GET or POST Response: data returned from call - general pattern is to put " = data;console.log(data)" so you can access in the rest of the code Headers: Any additional headers needed by the API like API key or username/password