1 Reply Latest reply on Apr 25, 2012 5:22 PM by sum_chat

    how to post parameters in the addFeature method of a feature service through code

      I have a problem. I am trying to pass data through the addFeature method of the Feature Service and HTTPWebRequest. I am generating a JSON Array like as below

      [{"geometry":{"x":832320.061627448,"y":296770.103371605},"attributes":{"property_id":"012012004001","Project_id":"012012004","street":"7930 Donnybrook Drive","city":"Germantown"}}]

      But I am not able to pass this as a value for the Features parameter which is required in the Add Features method of a feature service.

      If anyone can help me I will really appreciate it.