From the course: Building Web APIs with ASP.NET Core 8

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

HTTP in a nutshell

HTTP in a nutshell

- [Instructor] After this quick start into creating APIs with Dotnet, let's take a few steps back and look at HTTP in a nutshell. This here is the standards document for HTTP version two, which is supported in all the major browsers. However, from a protocol perspective, most of the concepts of the preceding versions, HGTP 1.1 and HTTP 1.0 still apply to web applications today, and especially for APIs. This can be confirmed when we look at the specific document. As it says here, HTTP version two is an optimized expression of the semantics of HTTP. This specification is an alternative too, but does not obsolete the message syntax of HTTP 1.1, HTTPS existing semantics remain unchanged. So basically there have been optimizations in HTTP two, but the essence of how HTTP works is still the same as it was in HTTP 1.1. So let's have a look at that HTTP 1.1 specification, and we immediately get a warning that the document has been superseded. Yes, it has, but still it's true today as well…

Contents