Testing web-connected-led code

trying to get the web-connected-led example code working. I created the doc but get a page not found when submitting. any ideas?

form action=“https://api.particle.io/v1/devices/36003b001247343339383037/led?xxxx” method=“POST”

I was able to turn my led on using http://projects.harrisonhjones.com/phpSparkDashboard/index.php
so I’m pretty sure i had the access token right in the html. the device id looks right too. did the url chg from this https://api.particle.io/v1/devices/

How do you submit the parameters for your POST request?
Have you seen this tutorial
Tutorial: Spark Variable and Function on One Web Page

1 Like