Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hey there,
I tried to send one http-put-request which alters the value of multiple properties.
The request looks like following:
But as you can see in the Picture above, this action is not allowed. Maybe I have to reference to the property in the JSON-Body?
Any suggestions?
Thanks in advance,
Theresa
Solved! Go to Solution.
Hi Theresa,
Yes almost the same, but please seperate each property with a comma. For example:
{"Str1":"hello123",
"Str2":"again111"
}
And again, use this url instead:
You could try to request url with :http://localhost:8080/Thingworx/Things/HJ/Properties/*
Hope this helps,
Br,
Anna
Hi Theresa,
Yes almost the same, but please seperate each property with a comma. For example:
{"Str1":"hello123",
"Str2":"again111"
}
And again, use this url instead:
Hi Theresa,
You are welcome. I am glad it worked finally.
Thanks,
Br,
Anna
Hi Anna An
I have already tried the URL: http://localhost/Thingworx/Things/testAC/Properties/*,
and the Response is 200 OK, but the property values still do not get updated.