Items state could not be retrieved via rest

Hello,
I’m using 3.4.2, but I don’t get on my items any response in the state, am I missing something?
curl -X GET --header "Accept: application/json" "http://<openhab>:8080/rest/items/Rampa_Rule_Time_Dimmer/"
response:
{"link":"http://192.168.0.200:8080/rest/items/Rampa_Rule_Time_Dimmer","state":"0","editable":false,"type":"Dimmer","name":"Rampa_Rule_Time_Dimmer","tags":[],"groupNames":[]}

meanwhile:
curl -X GET --header "Accept: application/json" "http://<openhab>:8080/rest/items/Rampa_Rule_Time_Dimmer/state"

response empty

According to the REST API explorer the mime type for the state endpoint is “text/plain”, not “application/json”.

1 Like

Thank you