HTTP (Hypertext Transfer Protocol) is the communication protocol for the web. Every fetch() call sends an HTTP request — understanding methods and status codes is essential for working with APIs. HTTP Methods HTTP Methods (verbs) describe the action to perform: GET — retrieve data (read-only, no body, cacheable, safe). POST — create a new resource (sends body, not idempotent). PUT — replace an entire resource (idempotent — calling twice has same effect as once). PATCH — partially update a resource (send only changed fields). DELETE — remove a resource. HEAD — same as GET but only returns headers (used for checking existence). OPTIONS — returns what methods are supported (used in CORS preflight). HTTP Status Codes HTTP Status Codes communicate the outcome: 1xx Informational (100…