As described in that post, my other server has PHP backend. I got the API working using cURL then this really cool website to convert my working cURL to a PHP module which the website can call using javascript ajax calls.
Here is my upcoming events calendar on my discourse instance
And here it is on my other server
pretty close huh?