[CANVAS] Curl command to change scene?

Started by hidden__river__90
2c552afb8b90db0ba2ef472637fcc5f8?s=128&d=mm

hidden__river__90

I want to change a scene by a Linux curl command. The status command is working:
curl -X GET "http://NANOLEAF_CANVAS_IP:16021/api/v1/AUTH_TOKEN/state"

I tried this without any response:
curl -X PUT -H "Content-Type: application/json" -d '{"select" : "Flames"}' "http://NANOLEAF_CANVAS_IP:16021/api/AUTH_TOKEN/effects"

What I'm missing?

C39416f4bdabbd5010f596095fb24348?s=128&d=mm

Aliakbar Eski

Hey @hidden__river__90

you are missing the version of the api.

Try:
curl -X PUT -H "Content-Type: application/json" -d '{"select" : "Flames"}' "http://NANOLEAF_CANVAS_IP:16021/api/v1/AUTH_TOKEN/effects"