Wso2 iot server with raspberry pi
问题 This is the rest call for switch on off the bulb in raspberry pi. <DeviceTypeConfiguration name="raspberrypi"> <Features> <Feature code="bulb"> <Name>Control Bulb</Name> <Description>Control Bulb on Raspberrypi</Description> <Operation context="/raspberrypi/device/{deviceId}/bulb" method="POST"> <QueryParameters> <Parameter>state</Parameter> </QueryParameters> </Operation> </Feature> </Features> Here, the QueryParameter state stands for on & off. Like bellow. curl -v -k -X POST "https:/