Control Raspberry Pi from Particle Photon

Hello Community,

I want to control certain functions on a Raspberry Pi from a Particle Photon.

The functions on the Raspberry Pi I want to control are accessible through curl commands that I can issue from my Mac. So I would like to do the equivalent from the Photon.

For instance, from the Mac I would issue the following command in Terminal:


Can anybody tell me how to implement this?


Have a look at the HTTP library in the online IDE :slight_smile: