<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 30 May 2019, at 12:22, Jules Field via ZendTo <<a href="mailto:zendto@zend.to" class="">zendto@zend.to</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration: none; float: none; display: inline !important;" class="">I do admit the massive "curl" is hardly the most elegant solution in the world, but hopefully once you have your head around what "curl" the shell scripts create, it should be fairly easy to implement the same thing on systems such as Windows desktops where you might need to use a totally different language to do the HTTP POST request.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration: none;" class=""></div></blockquote><div><br class=""></div>I’ve only tried it on a Mac, and I’ve tried it via:</div><div><br class=""></div><div>- running an ssh command, to call the script directly; and</div><div>- a curl, using a URL built using your script.</div><div><br class=""></div><div>Both worked, as expected.</div><div><br class=""></div><div>I’ve yet to play around with parsing the returned JSON...<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div>Best wishes<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class="">Neil<br class=""><br class=""><br class=""></div></div>

</div>

<br class=""></body></html>