🍪 Privacy & Transparency

We and our partners use cookies to Store and/or access information on a device. We and our partners use data for Personalised ads and content, ad and content measurement, audience insights and product development. An example of data being processed may be a unique identifier stored in a cookie. Some of our partners may process your data as a part of their legitimate business interest without asking for consent. To view the purposes they believe they have legitimate interest for, or to object to this data processing use the vendor list link below. The consent submitted will only be used for data processing originating from this website. If you would like to change your settings or withdraw consent at any time, the link to do so is in our privacy policy accessible from our home page..

Vendor List | Privacy Policy
Home Tags Privacy About

All posts tagged with "Web and HTTP"

These are my posts relating to the web and internet. Posts on how to make websites, APIs and how to use the HTTP protocol and REST properly.

Page 1 of 3 Older Posts →

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, HttpClient, Web and HTTP 08 January 2022

Ways of making HTTP redirects and how they are different

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Web and HTTP 22 May 2021

Ghost blog - How to link within the same document using an anchor tag in markdown

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Ghostblog, Blogging, Web and HTTP, HTML and CSS, Markdown 19 December 2020

REST - Should you use a body for your HTTP DELETE requests?

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. »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Web and HTTP 14 November 2020

How to fix "Alternative page with proper canonical tag" exclusions in Google Search console

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on SEO, Web and HTTP 07 November 2020

C# - How to PUT or POST JSON using the HttpClient in .Net core

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on HttpClient, C#, Web and HTTP 24 October 2020

C# - How to put or post XML using the HttpClient in .Net Core

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, »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, HttpClient, Web and HTTP 23 September 2020

Adding code highlighting to your website and blog using prism.js

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Javascript, Web and HTTP 22 August 2020

Software development - What is idempotence and what is an idempotent API? - Updated 2022

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Software architecture, Web and HTTP 12 August 2020

How to redirect HTTP put, post or delete requests and why you may end up with a GET request upon redirection

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 »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Web and HTTP 09 May 2020
Page 1 of 3 Older Posts →
  • Rss
  • Twitter
  • LinkedIn
  • profile for Peter Rasmussen at Stack Overflow, Q&A for professional and enthusiast programmers
Peter Daugaard Rasmussen - developer, Consultant, Blogger © 2023 Privacy policy