0
Reply

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

Ask a question
  • 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


Next Recommended Forum