Skip to content

The-Marcy-Lab-School/problem-set-6_0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Unit 6 Lesson 0 Problem Set

  1. Describe, in as much detail as you can, what happens when you open up Google Chrome, type "marcylabschool.org" into the address bar, and press enter. You answer should mention how the IP address is found, clients and servers, and HTTP Requests/Responses.

  2. HTTP is a "stateless" protocol - what does this mean?

  3. Given that HTTP is a stateless protocol, how do we build "stateful" web applications?

  4. What is the difference between HTTP and HTTPS?

  5. Security is an important concept for web applications. What are two ways we can try to prevent a user's session from being hijacked?

  6. What is the Same Origin Policy? What about CORS? How are they related?

  7. Using cURL, make a request to https://www.reddit.com/r/programming from the command line. Then wait at least 30 seconds and make another cURL request to https://www.reddit.com/r/programming/.json. What differences do you notice between the two different response bodies? Why is this significant? Note: If you get a "Too Many Requests" error, you must wait longer before your next cURL and try again.

  8. What are request and response headers? Why are they important?

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •