C# HttpClient - How to set the basic HTTP authorization header
Basic authentication is becoming a rare sight, however it is still quite widely used due to its simplicity. In C#, using the HttpClient and HttpRequestMessage you »
Basic authentication is becoming a rare sight, however it is still quite widely used due to its simplicity. In C#, using the HttpClient and HttpRequestMessage you »
In this post I will describe the different ways of redirecting using the HTTP protocol. It is a shorter version of a previous blog post of »
It took me way too long to figure out how to link to a headline further down in my blog post within markdown. I hope I »
I recently had to make an endpoint for a deletion of a resource, for this I wanted to use the HTTP Verb DELETE [https://developer.mozilla. »
In Google search console you may find that some of your pages has been excluded with the status "Alternative page with proper canonical tag". Overall this »
In this post I demonstrate how you can POST or PUT JSON using the HTTPClient in C#. The simplest way to do this is using the »
It is quite easy to send XML using the HttpClient in asp.net core. In order to do this you need to use the StringContent object, »
If you are a blogger on software you are likely going to share some code snippets. Without highlighting code can be hard to read and your »
Defining Idempotence According to Wikipedia idempotence is described as: The property of certain operations in mathematics and computer science whereby they can be applied multiple times »
I will start with a small disclaimer: it is always up to the client how to handle redirects. Most of the time they handle status codes »