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 →

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 (<br/>) in them, however what I had »

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 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. However I had »

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. I scored below 50, but I could have sworn that when I created »

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

List of HTTP status response code group meanings, such as 200, 400 and 500

In this post I will present the different HTTP status code groups, which are the groups 1xx (100-199), 2xx (200-299), 3xx (300-399), 4xx (400-499) and 5xx »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Web, HTTP 02 May 2020

Empty white space caused by "&#65279;" in HTML on my webpage

Last week I was making a new “about” page for my blog using Ghostblog pro. When I uploaded the file I saw an empty white area »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Web, Encoding 28 March 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 © 2021 Cookie policy