# Values to be written
value_double=17.89
# URLs of the data points
url_double="http://192.168.1.100:8008/api/tasks/rest_api_task/CNR_IN:ycn"
# Credentials
user="admin"
password="mypasswd"
echo -e "\nWriting data type double ... "
curl -d "{\"v\":$value_double}" -u "$user:$password" -H "Content-Type: application/json" -X POST $url_double
I know how to do this with jShell, I'm interested in how to correctly use HttpJob to use all the parameters.
I tried it and it's true. So there is no problem here. I do not have to figure out why the 20.00 value is not written through the API to the controller.
I have no idea what else to try.