LED example URL parameters?

Novice here, bear with me. Have not found an explanation so direction to it would be of great assistance.

Per the https://docs.particle.io/guide/getting-started/examples/core/#control-leds-over-the-39-net example, can you send JUST a URL with parameters like

…vices/1234abc/led?access_token=1234?PARAM=ON

or what would be the method for not requiring a form but just sending a URL request to pass the parameter?

Thank you for your assistance!!!

There is none. "sending a URL request" is inherently not the same as POSTing something, which is what's needed as per the REST specs.
Why do you want to do it this way? Better yet, what is your end goal?

I am attempting to have the Pebble watch send a simple on request to a photon when the magnetometer is on a specific heading. I was hoping to just send a simple URL string but now with your information I might automate the webpage to post the form after it has been loaded by the URL request from the watch. I think :slight_smile: