The World Wide Web:
HTTP


 Slides

HTTP

Request - Response

Telnet Demo

GET / HTTP/1.0

Request Headers

Request Body

Request Methods

  • GET
    • default for links
    • no body
    • parameters passed in query string
  • POST
    • default for forms
    • parameters passed in body

More Request Methods

  • PUT
    • a lot like POST
  • HEAD
    • same as GET but skips body
    • used to ask if content has changed or expired
  • DELETE
    • only used by APIs

Cookies

a cookie is a message

that a server

sends to itself

via the client

Sockets

  • HTTP socket
  • socket.io



Comments

comments powered by Disqus