This Fiddler extension generates C# (.Net Framework 4.5) HttpClient code.
Fiddler 4.0
- Copy HttpClientCode.dll from the bin folder to your %USERPROFILE%\Documents\Fiddler2\Scripts folder.
- You'll need to restart Fiddler if it's already running.
Select the request
Select Http Client Code from context menu
Click Generate Code Here you can see sample GET from rest service arcgis
If you need headers you can checked Add headers
Here you can see sample POST from rest service arcgis
Click button Copy to Clipboard
Paste from Clipboard and test with LinqPad