Crash Courses · Basic
API Testing and Postman
HTTP methods, status codes, assertions, collections
15 min read+200 XP on completionCert: Quality Assurance
Tap any word in the text below to start reading from there.
# API Testing
HTTP Methods
GET retrieves data. POST creates a resource. PUT replaces it entirely. PATCH updates part of it. DELETE removes it.
Status Codes
200 OK, 201 Created, 204 No Content. 400 Bad Request, 401 Unauthorized, 404 Not Found. 500 Internal Server Error.
Postman Assertions
Use pm.test with pm.response.to.have.status for status code checks. Use pm.expect on the parsed response body to assert field values and types.
Reading progress
0% read
In this module
GET
POST
PATCH
Status code
0%