DEV Community

Cover image for Understanding HTTP Request/Response Cycle
Calvin
Calvin

Posted on

2

Understanding HTTP Request/Response Cycle

There exist what may be considered as 3 main elements of a HTTP request:

๐Ÿ“ถ Request line
๐Ÿ“ถ Headers
๐Ÿ“ถ Body

http request/response cycle

The request line is made up of a HTTP method, the URI( path of the resource), and the HTTP version.

The headers are made up of metadata and components of information about the request being sent such as cookies and authentication tokens.

The body contains information that is being sent to the server ("payload"). Examples of information sent to the server may include form data.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay