HTTP status codes || 200 series || API testing

Опубликовано: 09 Октябрь 2024
на канале: Software Testing By JP
100
4

HTTP status codes || 200 series || API testing #apitesting

200 OK:
Indicates a successful request.
The server processed the request and returned the requested information.

201 Created:
The request has been fulfilled, resulting in the creation of a new resource.
Often used after a successful POST request to indicate that a new resource has been created.

204 No Content:
The server successfully processed the request, but there is no content to send back.
Commonly used for DELETE requests.