node-wot approach:
The body of a request is already considered as a new value when writing to a property. It is also possible to wrap it around {"value": ...value...} and node-wot will unwrap that. But the first way is preferred.
The body of a request is already considered as an input when invoking an action. It is not possible to wrap it around {"input": ...input...}.
wot-py approach:
It is mandatory to wrap property values with {"value": ...value...} and action inputs with {"input": ...input...}.
node-wot approach:
The body of a request is already considered as a new value when writing to a property. It is also possible to wrap it around
{"value": ...value...}and node-wot will unwrap that. But the first way is preferred.The body of a request is already considered as an input when invoking an action. It is not possible to wrap it around
{"input": ...input...}.wot-py approach:
It is mandatory to wrap property values with
{"value": ...value...}and action inputs with{"input": ...input...}.