Example of how to apply edit

Discussion created by nathalieneagle on Aug 2, 2013
Latest reply on Aug 14, 2013 by akajanus-esristaff
I've been looking at the Apply Edits (Operation) example in the help document.

I can take an example there and add a feature and update a feature -

I can only add and update for the html.  I do this by going to the end point

and dropping the appropriate code in the entry areas. 

If I switch to JSON I can also get the JSON to work

I'm hoping someone can help me with this:.

How do I push an update from my code.  Do you write everything in the url string

Or do you somehow give the url in your code
and then place your html or JSON in the appropriate input boxes -- "ADD, UPDATES, DELETES"

Can someone show me an example of this  - I'm writing in Silverlight but if the example was in JS or FLEX I'm sure I could figure it out.

I would like to push with JSON

An example would be great to show me, I should be able to study that example and learn from that and do it on my own.