Simple Spark PHP Proxy

FYI, Something happened recently that the above proxy code to stop working on my system. All requests to my posts/gets were timing out.

I changed “api.spark.io” to “api.particle.io” and everything started working again.

That would probably do it.