I have tried that:
curl -u admin:geoserver -XPUT -H "Content-type: text/css" -d @data_clone.css http://localhost:8080/geoserver/rest/workspaces/sde/styles/style_clone.css It does not change anything. The way is working well for SLD type-styles. But I can not find any tutorial for CSS type styles to upload or update syle.
There is no error. It responses nothing.