Sorry - I do not know, but what Item type do you have … 1st I would try to update a simple string item to see if this works. If updating a string works then you know that basically it functions & you face a format/conversion issue.
Thanks for the help.
I finally found a solution, performed a tcpdump and checked the difference between the curl and python command.
It seems curl was sending the data with urlencode.
To simply send raw data with cURL you need to specify the -H “Content-Type: text/plain” option in the command.
The full command looks like this if it can help somebody:
curl -H "Content-Type: text/plain" -X POST -d "string" http://"yourIP":8080/rest/items/test