todbot / Blink1Control2

Blink1Control GUI to control blink(1) USB RGB LED devices.
http://blink1.thingm.com/
Apache License 2.0
154 stars 26 forks source link

POST request returns error #163

Closed two9seven closed 2 years ago

two9seven commented 2 years ago

Hi there I am testing POST requests with Blink1Control2 with the API server turned on. I am able to change the light with curl but cannot make changes with a POST request and am returned an error. Is POST allowed?

This is the response I get: `<!DOCTYPE html>

Error
Cannot POST /blink1/lastColor
`
two9seven commented 2 years ago

Solved my own problem by using GET. Thanks anyway!

todbot commented 2 years ago

POST is not supported, just GET.