Can you try using a browser or this doesn’t work in a browser?
I tried on Spark-cli and the function just ended abruptly. There’s no error code output which usually happens when the Api call is wrong…
So i decided to just make a comment.
I’m definitely seeing it on the public stream as Uptime/Singapore but would like to just isolate to this event itself and met a little issue. Well…at least on Spark-cli
For the webhooks in particular, I think we’ll want to do a few days of development time and testing before releasing. I’d like to get it out there soon though, so hopefully this sprint.
Hey @kennethlimcp and @bko, yes, the ‘slashes in subscribes’ thing is goofy because it’s in a url, so I need to change my parsing logic to detect that. One of those… “Oh yeah” moments…
I think it's one of those projects that seems simple to implement, but once you start getting into the details, it gets pretty ugly. I know they're actually trying to take it one step above webhooks. With that in mind, however, there are lots of security implications that have to be taken into consideration to prevent any malicious code from running, and/or causing a core to DDOS the internet.
Sorry about the delays! I’m working on getting the local cloud out first, then webhooks next. If you want to email me at david@spark.io I can give you early beta access to webhooks in the meantime.
We’ve been crazy busy working on hiring, so I haven’t had much time to push this forward. I’m still letting people into the beta though, so you can email me and I’m happy to add you for the time being.
All of the replies on this question are about server sent events as far as I can tell. Had there been any progress on callbacks since this was posted a year ago? The docs still say “later in march”. Is this available yet? Is there an updated timeline?
This is a really old topic. Maybe you could explain what you want to do?
With a combination of SSE from Spark.publish() and the beta of Spark webhooks and the announced IFTTT integration, I can’t think anything you really cannot do anymore. The webhooks feature is still in beta but IFTTT is ready to roll.
I’ll look into ifttt but what I want to do is post to a URL upon an event in the spark. Right now I’m monitoring SSE with a custom program I’m running on azure web tasks but I’d like to just have it call a url.
Webhooks is in private beta still so we can’t really share much except to say that it looks to me like the feature will be going live pretty soon and is very cool.
I appreciate this is an old thread. And thanks for your reply to @damccull as I found it really useful. I suspect until the documentation at: http://docs.spark.io/api/ is updated, however, this topic will stay active. Could you forward my request to the appropriate parties that http://docs.spark.io/api/ get updated with examples that show the currently suggested ways to handle Spark.publish() events?