Turn on the Hue light in Joyce's kitchen

Number of APIs: 4

Follow along on the livestreams

Get Started

  • Select the folder Working in Production
  • Find the POST request turn on / off - PROD
  • Update the payload to {"on": true}
  • Hit Send

More info

Joyce is passing requests through to a Philips Hue lightbulb in her kitchen. The responses you receive from these endpoints are from her proxy server (not the Philips Hue device). If you want to set up something like this in your own home, check out this blog post: Enable public access to connected devices in your local network

Turn on the lights in Joyce's kitchen by sending requests in the folder Working in Production.

https://light.meowsergirl.com

Feel free to update the lights during future livestreams in a totally non-distracting way.

Follow GetQodex on Twitch so you never miss an episode! In a previous livestream, we worked locally to GET the current weather and update the lights according to the weather forecast. - [Code sample on Qodex] for working locally - Recording of the livestream

  1. Working locally - hello world GET {{localhost}}

  2. Working in Production - hello world - PROD GET {{production}}

  3. Working in Production - update light color - PROD POST {{production}}

  4. Working locally - update light color POST {{localhost}}