Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
i tried to change multiple properties with one PUT request,
but i got "405 Method Not Allowed" exception error
I need help with this
Thanks in advance
Srikanth
Solved! Go to Solution.
Use the following URL:
http://erptest:8080/Thingworx/Things/IAQ_BD/Properties/*
then, as the body of the PUT request use the following JSON data:
{"CO2": "75", "Humidity": "60", "Temperature": "44"}
Of course you also have to set the Accept and Content-Type headers, but I assume you are already doing so.
HTH,
Alessio
Use the following URL:
http://erptest:8080/Thingworx/Things/IAQ_BD/Properties/*
then, as the body of the PUT request use the following JSON data:
{"CO2": "75", "Humidity": "60", "Temperature": "44"}
Of course you also have to set the Accept and Content-Type headers, but I assume you are already doing so.
HTH,
Alessio
It is working
thanks Alessio