Home About

All posts tagged with "Web"

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 2 Older Posts →

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 HTTP, Web 22 May 2021

Software architecture - Polling, pushing and pulling data between applications and services

In this post I will describe the advantages of polling and pushing data in your applications. The patterns are used in most distributed systems. I will »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Software architecture, Design patterns, Web, HTTP 26 February 2021

HTML - Should you use <br> or <br/> as line break?

I recently realised that I had some old posts on my blog with some line break tags (
) in them, however what I had been using in »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on HTML, Web, Website 16 January 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, HTML, 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 HTTP, Web, Web development 14 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 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 23 September 2020

Adding code highlighting to your website and blog posts 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 22 August 2020

How to lazy load Disqus using vanilla/native javascript!

I recently found out that my blog was slow according to google pagespeed [https://developers.google.com/speed/pagespeed/insights/?url=peterdaugaardrasmussen.com] . I scored below »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Disqus, Javascript, Web, HTML 27 June 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 HTTP, Web 09 May 2020
Page 1 of 2 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 © 2022 Cookie policy