0% found this document useful (0 votes)
46 views1 page

Understanding HTTP Requests and Responses

This document provides an overview of the Hypertext Transfer Protocol (HTTP) and describes an exercise to explore HTTP requests and responses by using the network tools in a web browser. The exercise tasks include viewing request details, identifying common HTTP methods and headers, and posting observations in a discussion forum.

Uploaded by

Livia Rafaela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views1 page

Understanding HTTP Requests and Responses

This document provides an overview of the Hypertext Transfer Protocol (HTTP) and describes an exercise to explore HTTP requests and responses by using the network tools in a web browser. The exercise tasks include viewing request details, identifying common HTTP methods and headers, and posting observations in a discussion forum.

Uploaded by

Livia Rafaela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DESN 31927 System Design - Databases and Dynamic Data

Fall 2023 / Bachelor of Interaction Design

Exercise: Hypertext Transfer Protocol - HTTP


This exercise is not directly graded but develops important skills that will be essential in your course projects.

Overview
To work confidently with data on the internet, it helps to have some understanding of underlying data protocol(s). HyperText Transfer
Protocol (HTTP) is a standard that describes how documents, such as HTML or JSON can be transmitted over the internet. In the context
of HTTP, clients initiate requests, while servers send responses.
An HTTP Request includes a method (e.g. GET or POST), a target URL, message Headers, and an optional Body.
An HTTP Response begins with a status code (e.g. 200, 404), and includes Headers and a response Body.
You can read more about HTTP here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview
Skill Test
Let’s look under the hood of our web browser to explore the anatomy of HTTP requests that we make daily.
- Run a GET request in your browser by visiting any website via the address bar (e.g. visit https://sheridancollege.ca )
- Open the developer Tools in your browser and locate the Network Tab (look up instructions for your specific browser if needed)
- Find a list of HTTP requests made during the rendering of the webpage
- How many HTTP requests are made in total?
- What kinds of documents are requested? (i.e. different types of files that make up a webpage)
- Click on one of the listed HTTP requests to find details about the request headers.
- Which HTTP method (e.g. GET, POST, PUT, DELETE) is the most common? Why?
- Find an HTTP request that contains an HTTP header related to caching.
- Find an HTTP response that contains a content-type HTTP header.

Delivery Format & Instructions


Using this week’s channel on Teams, post at least one but preferably several of the following:
- something that you learned (e.g. with a screenshot)
- a question (e.g. how do I …?)
- a comment on a thread (help your peers to solve a problem)

You might also like