HTTP Response
start line
HTTP version + Status Code + status message
header
Status Code
(standard) 3-digit HTTP Response code sent by Server
Source: www.iana.org/assignments/http
References
jsonplaceholder
↔ Online API to provide dummy REST JSON HTTP ResponseHTTP Caching
↔ (process) to store HTTP Response to reuse for subsequent Reqsres.send()
↔ to send(_message)
as HTTP Responseres.status()
↔ to set Status Code in HTTP Responseres.status(200).send("hello")
↔ to send 200 Status Code & message of"hello"
as HTTP Responseres.status(404).send("Page not found")
↔ to send 404 Status Code & message of"Page not found"
as HTTP ResponseStatus Code
↔ (standard) 3-digit HTTP Response code sent by Server