HTTP in Plain Words

HTTP in Plain Words: HTTP in Plain Words: Requests and Responses, Status Codes and Headers.

Updated

  1. HTTP in Plain Words: Requests and Responses (Apprentice): Every app that talks to a server sends an HTTP request (a method, an address, headers and sometimes a body) and gets a response back, and in Node you read a request's path and query values with URL and URLSearchParams.
  2. Status Codes and Headers (Apprentice): A response's three-digit status code tells the client how its request went before it reads a word of the body, and headers such as Content-Type tell it how to read that body.