nathalieneagle

Why do this fail?

Discussion created by nathalieneagle on Aug 6, 2013
I can go to the endpoint

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0/applyEdits

and add these parameters to the applyedits box

[{"geometry":{"x":-13085962.2699721,"y":4061306.82523268,"spatialReference":{"wkid":102100}},"attributes":{"description":"Test Nat","type":5}},{"geometry":{"x":-13072136.6421672,"y":4073467.58686212,"spatialReference":{"wkid":102100}},"attributes":{"description":"klsf","type":0}}]


AND MY EDITS APPLY AND WORK

I just want to send this via url like

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0/applyEdits?f=json&adds=[{"geometry":{"x":-13085962.2699721,"y":4061306.82523268,"spatialReference":{"wkid":102100}},"attributes":{"description":"Test Nat","type":5}},{"geometry":{"x":-13072136.6421672,"y":4073467.58686212,"spatialReference":{"wkid":102100}},"attributes":{"description":"klsf","type":0}}]


or like


http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0/applyEdits?f=json&adds=%5b%7b%22geometry%22%3a%7b%22x%22%3a-13085962.2699721%2c%22y%22%3a4061306.82523268%2c%22spatialReference%22%3a%7b%22wkid%22%3a102100%7d%7d%2c%22attributes%22%3a%7b%22description%22%3a%22Test+Jay%22%2c%22type%22%3a5%7d%7d%2c%7b%22geometry%22%3a%7b%22x%22%3a-13072136.6421672%2c%22y%22%3a4073467.58686212%2c%22spatialReference%22%3a%7b%22wkid%22%3a102100%7d%7d%2c%22attributes%22%3a%7b%22description%22%3a%22klsf%22%2c%22type%22%3a0%7d%7d%5d


WHY WON't the URLs work???

Please help.

Thanks

Outcomes