0% found this document useful (0 votes)
8 views1 page

Scribd API Response Status Codes

The document outlines various HTTP status codes and their meanings, indicating successful requests (200, 201, 202) and errors (401, 404, 500, 503). It also describes the use of GET and POST methods for requesting and sending data to a server. Additionally, it includes examples of tests to check for a 200 status code in response using a testing framework.

Uploaded by

FELIPE LOPEZ
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Scribd API Response Status Codes

The document outlines various HTTP status codes and their meanings, indicating successful requests (200, 201, 202) and errors (401, 404, 500, 503). It also describes the use of GET and POST methods for requesting and sending data to a server. Additionally, it includes examples of tests to check for a 200 status code in response using a testing framework.

Uploaded by

FELIPE LOPEZ
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

200 OK, Request has Success

201 Created, Success NewResources


202 Acepted

401 Unauthozied... Credentials


404 Not Found

500 internalServerError
503 serviceUnavailable
*******************************************
GET isUsed toRequestData from a specifiedResource. ENDPOINT
POST sendsData toAserver to createOrUpdate a resource.
*******************************************
[Link]("Status code is 200", function () {
[Link](200);
});
*******************************************
[Link]("Status code is 200", () => {
[Link]([Link]).[Link](200);
});

You might also like