I created a RESTful Switch with a name and a resource and nothing else. I adapted the servers to react to the home assistant default requests.
I burned some time just to find out that the default body for turning on is ON and for turning off is OFF.
Makes sense but the documentation over here https://www.home-assistant.io/components/switch.rest/ says it is true and false.
Please update the documentation.