Understanding HTTP

To communicate with a web server, the client, aka user agent, makes calls over the network using a protocol known as Hypertext Transfer Protocol (HTTP). HTTP is the technical underpinning of the web. So, when we talk about web applications or web services, we mean that they use HTTP to communicate between a client (often a web browser) and a server.

A client makes an HTTP request for a resource, such as a page identified by a Uniform Resource Locator (URL), and the server sends back an HTTP response, as shown in the following diagram:

You can use Google Chrome and other browsers to record requests and responses.

Good Practice ...

Get C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.