Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

httpwebrequest

Request with file to web API

September 4, 2022 by Magenaut

I have a problem with the application sending the file to the web service. This is my endpoint/controller.

Categories ASP.NET, Q&A Tags asp.net, c#, httpwebrequest, upload, web-services Leave a comment

HttpWebRequest not passing Credentials

September 2, 2022 by Magenaut

I’m trying to use HTTPWebRequest to access a REST service, and am having problems passing credentials in, see code below. I’ve read that NetworkCredential doesn’t support SSL, and I’m hitting an HTTPS site. Does anyone know of a class similar to NetworkCredential that does support SSL?

Categories ASP.NET, Q&A Tags asp.net, c#, httpwebrequest Leave a comment

The request was aborted: Could not create SSL/TLS secure channel

September 2, 2022 by Magenaut

My customer has informed my of issues with their SSL and Internet Explorer. They said they get trust issues when accessing the URL.

Categories ASP.NET, Q&A Tags asp.net, c#, httpwebrequest, ssl Leave a comment

How do I see the raw HTTP request that the HttpWebRequest class sends?

September 2, 2022 by Magenaut

I know you are all going to answer “use a debugging proxy server like Fiddler” but it’s not that simple.

Categories ASP.NET, Q&A Tags asp.net, c#, debugging, httpwebrequest, proxy Leave a comment

curl Request with ASP.NET

September 2, 2022 by Magenaut

I have read some other posts on Stack but I can’t get this to work. It works fine on my when I run the curl command in git on my windows machine but when I convert it to asp.net it’s not working:

Categories ASP.NET, Q&A Tags asp.net, curl, httpwebrequest, web Leave a comment

HttpWebRequests sends parameterless URI in Authorization header

September 1, 2022 by Magenaut

I’m connecting to a web service from .NET, like:

Categories ASP.NET, Q&A Tags asp.net, c#, httpwebrequest Leave a comment

HttpWebRequest or WebRequest – Resume Download ASP.NET

September 1, 2022 by Magenaut

I would like to know if there is a way to know if a server supports resume download functionallity and if supported, how do I send a request to resume?

Categories ASP.NET, Q&A Tags asp.net, c#, httpwebrequest, webrequest Leave a comment

Download large file in small chunks in C#

August 31, 2022 by Magenaut

I need to download some file which is more than 25 MB large, but my network only allow to request a file of 25 MB only.

Categories ASP.NET, Q&A Tags asp.net, c#-4.0, httpwebrequest, websocket Leave a comment

GetRequestStream throws Timeout exception randomly

August 31, 2022 by Magenaut

After googling for couple of days, I really cannot solve described issue. Hope here will find a solution

Categories ASP.NET, Q&A Tags asp.net, c#, httpwebrequest, timeout, wcf Leave a comment

Why does HttpWebRequest throw an exception instead returning HttpStatusCode.NotFound?

August 30, 2022 by Magenaut

I’m trying to verify the existence of a Url using HttpWebRequest. I found a few examples that do basically this:

Categories ASP.NET, Q&A Tags asp.net, c#, http-status-code-404, httpwebrequest Leave a comment
Older posts
Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress