Santosh Artham

Santosh Artham

  • NA
  • 1
  • 877

how to put Custom Header value in Http request without a key

Dec 13 2014 1:55 PM
  • Hi, I need to put a custom value in HttpWebRequest header without a key for it. HttpRequest.Headers is a NameValue collection and the server doesn't honor an header entry without a Name. Any help is highly appreciated.


    Eg: my Http Header content should be (I am able to do this in Fiddler, but not in C#):

    User-Agent: SSL TestApp
    Content-Type: x-Visa-II/x-auth

    82D0.99999503U

    - San