NEW
Font size
WorksheetsAPI Class
Total questions: 10
Worksheet time: 3mins
What is an API?
A database
An intermediary between software systems
A type of computer
A programming language
What does the status code 404 mean?
Created
Forbidden
Not Found
Bad Request
What should you do BEFORE testing an API?
Guess what the API does
Understand the database
Change the server settings
Understand the requirements and documentation
Which of the following is part of negative API testing?
Sending valid data
Following documentation perfectly
Sending invalid inputs to test error handling
Checking UI responsiveness
If an API requires an API key but you send no key, what status code is most likely?
401
201
500
300
Which API method is used to create new data?
DELETE
PATCH
POST
GET
In REST architecture, what does “stateless” strictly imply?
Server stores partial client context
Server stores client session data
Each request must contain all information needed to process it
Client and server share cache state
What is the primary difference between PUT and PATCH at the protocol level?
PUT only works with JSON
PATCH is deprecated
PUT replaces the entire resource; PATCH modifies only specified fields
PUT is asynchronous
Manual testing in API means what?
Writing code to test
Using tools like Postman to send requests manually
Writing test on excel
Creating automation scripts only
What was the color of Abby's shirt on the second presentation slides
Pink
Purple
Black
Blue
