Search K
Appearance
Appearance
device id
curl -X POST https://api.lightbug.cloud/api/devices/id/notificationTriggers
fetch("https://api.lightbug.cloud/api/devices/id/notificationTriggers", { method: "POST" })
.then(response => response.json())
.then(data => console.log(data));
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.lightbug.cloud/api/devices/id/notificationTriggers");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import requests
response = requests.post("https://api.lightbug.cloud/api/devices/id/notificationTriggers")
print(response.json())