Here is a starting template. In the line starting with action= you will need to change your-device-id to the device ID of your photon and change your-access-token to the access token for your account. If you used a different name for your published function, replace led with your function name.

Test Web Page