I’ve done some research, and I understood that GET’s are meant for Spark.function()
and that POST’s are for Spark.variable(). But I just need to make sure someone did the GET, nothing else.
So. Is it possible to attach another function to a Spark.variable() call? Where should I be looking at? Any other suggested solution?
If possible, I wouldn’t like to directly use TCPServer… it doens’t seem like a reliable solution.
In this topic I’ve tried to explain why I think it’s not currently possible:
My solution above is a fairly simple one, as long as you can host the page somewhere. I believe github can do that for free
If you’re using the local cloud, then you should be able to edit the routing and make it do whatever you’d like it to do.