How to set default style of layer using rest api in Geoserver

المشرف العام

Administrator
طاقم الإدارة
Hello friend, I want to change the default style of the layer in Geo server using the REST API.For this i get this code curl -v -u admin:geoserver -XPUT -H "Content-type: text/xml" -d polygon" http://mindcrewgis.com/geoserver/rest/layers/pymble:pymble_water when run this command it is working fine form me. But when i convert this command in PHP then it is not working for me My PHP code for above curl command is My code is But this code is not working for me . There is something wrong in execute curl using PHP. Please help me where i am wrong .

أكثر...
 
أعلى