
The correct method for set/clear endpoints is PUT, not POST, as the resource always ends up in the desired state, regardless of its current state.
The correct method for set/clear endpoints is PUT, not POST, as the resource always ends up in the desired state, regardless of its current state.