I'd recommend to just use curl which you can easily trigger using the "Run Shell Script" or "Execute Terminal Command" action. I'll never be able to implement a similar feature set and curl is included with every macOS installation.
1 Like