Call function through URL?

you want to GET/POST to a url, directly on the Photon, or using a server?

either is possible.

the Photon can also serve up a little webpage itself.

There are many examples of the Photon being the server, here is one example that turns on/off a led using a graphical approach.

1 Like