Change REPRESENTATION payload in correct format.
Updated rep without starting array, href, and removed prop strucutre.
[
{
"href":"/BinarySwitchResURI",
"rt":
"if":
"rep":
{
"value":true
}
}
]
to be
{
"rt":
"if":
"value":true
}
Change-Id: I26fd608999c88323ab1b9fae1e06a270756e9d31
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4327
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4493