Response

Noun · Development

Definitions

  1. A message sent from a server back to a client in answer to a request — in HTTP, composed of a status code (200, 404, 500, etc.), headers (Content-Type, Cache-Control, Set-Cookie), and an optional body containing the requested data or an error message.

    In plain English: The answer a server sends back after you ask it for something, including a status code that says whether things went well and any data you requested.

    Example: "The API returns a 200 response with a JSON body on success, or a 422 with validation errors if the input is malformed."

Related Terms