0
What are the core components of a HTTP response in RESTful?

Open 1 Answers 153 Views Technology

What are the core components of a HTTP response in RESTful?

1 Answer

0
A HTTP Response has four major parts −

Status/Response Code − Indicate Server status for the requested resource. For example 404 means resource not found and 200 means response is ok.

HTTP Version − Indicate HTTP version, for example HTTP v1.1 .

Response Header − Contains metadata for the HTTP Response message as key-value pairs. For example, content length, content type, response date, server type etc.

Response Body − Response message content or Resource representation.
by (250k points)
...