I am using restsharp to consume a restful api. A code that used to work stopped working, apparently because I have to set 'accept headers' in my http get request. I understand that, according to some google searches, the accept header stuff is set by default by restsharp. So I obtained this http traffic via fiddler:
GET https://xxxx HTTP/1.1 Accept: application/json, application/xml, text/json, text/x-json, text/javascript, text/xml User-Agent: RestSharp 104.1.0.0 Host: test.nortechonline.net Cookie: username=xxxx; auth_key=xxxx; ws_key=xxxx Accept-Encoding: gzip, deflate Does this show that 'accept headers' is enabled?