Add Attachment Using REST API

2456
1
12-12-2011 12:26 PM
ZahidChaudhry
Occasional Contributor III
I am trying to attach a file using pure REST API. Unfortunately there is no example how to do this with C#. I got some information from here but no luck in getting it work.
I will appreciate if someone can help me with this...

thanks
0 Kudos
1 Reply
RichardWatson
Frequent Contributor
The SL and WPF APIs both provide support for adding attachments to FeatureLayers using C#.

If you do not want to use those APIs then you can write a sample with them and then look at the request using Fiddler.  Another option is to simply reflect out the code and study it.
0 Kudos