LUA scripting

If you want to trigger a raw notification from a standard LUA  script, you can use the following module:

notify17.lua
local http = require('socket.http')
local url = require('socket.url')
local ltn12 = require('ltn12')

local _M = {}

function _M.rawNotification(rawAPIKey, title, content)
	content = content or ''
	
	local query = 'title=' .. url.escape(title) .. '&' .. 'content=' .. url.escape(content)
	local path = "https://hook.notify17.net/api/raw/" .. rawAPIKey .. '?' .. query

	local response_body = { }
	http.request({
		url = path,
		method = "GET",
		sink = ltn12.sink.table(response_body)
	})
	
	print('Notify17 response: ' .. table.concat(response_body))
end

return _M

Usage (e.g. when the tool of a CNC machine  needs to be changed):

Example
local n17 = require('notify17')
local n17RawAPIKey = 'RAW_API_KEY'

n17.rawNotification(n17RawAPIKey, 'Manual action required', 'The tool of the CNC machine needs to be changed!')