Hi all,
According to the 10.3 ArcGIS REST API we can update a SOE's configuration/properties via REST.
I can't get this to work. I think there is a product bug with 10.3. I've tried the following, but it is not working.
curl "http://localhost:6080/arcgis/admin/services/types/extensions/update" -H "Cookie: AGS_ADMIN_TOKEN=""wZCMvpGHP2JM_zdfS1l4dEQClcSLnbJ0PwqD-OQGBSsVXbvz0liqJLVY2QS4XHfS,wZCMvpGHP2JM_zdfS1l4dDb3zD0WgzUFXc7HFDIycgwD315mbvZ9Y6GD7-QOfDK3g6fHLBJYSB23KSK1YJmzkNN0SZz_spsAiYOcgMlhtVA.""; AGS_PRIVILEGE_TOKEN=DRZwNP-Mi9CmzNeWqQHIOtsxNFAT8vRZW5N6g9sv_zeg-SXjy1N4a3VMHY6YCcrrmMVpYyCA5-L4c0lHEUgtNA.." -H "Origin: http://localhost:6080" -H "Accept-Encoding: gzip, deflate" -H "Accept-Language: en-US,en;q=0.8" -H "Upgrade-Insecure-Requests: 1" -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36" -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" -H "Cache-Control: max-age=0" -H "Referer: http://localhost:6080/arcgis/admin/services/types/extensions/update" -H "Connection: keep-alive" --data "id=i9a705647-5247-49e1-a9df-55b5c8fce6eb&f=pjson&properties=first%3Djohn%26last%3Ddoe&csrfPreventToken=wZCMvpGHP2JM_zdfS1l4dEQClcSLnbJ0PwqD-OQGBSsVXbvz0liqJLVY2QS4XHfS"%"2CwZCMvpGHP2JM_zdfS1l4dDb3zD0WgzUFXc7HFDIycgwD315mbvZ9Y6GD7-QOfDK3g6fHLBJYSB23KSK1YJmzkNN0SZz_spsAiYOcgMlhtVA." --compressed |
The CURL was copied from Chrome Tools after testing out the end point on our local AGS.