2 ms·
In HTML, you could have a FORM with the URL of /lamp/switch that you PUT.
by rswail 3y ago
In HTML, you could have a FORM with the URL of /lamp/switch that you PUT.
- 3cats-in-a-coat 3y agoSo you're putting a switch. Great API design.
- cxr 3y agoPUT is not a valid method from an HTML form. Only GET or POST are permitted.
- 3cats-in-a-coat 3y agoThis kind of reveals a little secret of many of the REST gurus. They have no clue what they're talking about.