NEW
Font size
WorksheetsNodejs: APIs
Total questions: 10
Worksheet time: 5mins
API(Application Programming Interface) is a general concept that referes to a set of rules and protocols that allow different software application to ______
communicate and interact with each other
communicate and interact with the Graphical User Interfacer(GUI)
communicate and interact with the Command Line Interface(CLI)
communicate and interact with the binary executable file
What is the full meaning of REST in REST API
Real State Transfer
Read State Transfer
Representational State Transfer
Rep State Transfer
What are the principles of REST API
Resource-based
Stateless
Uniform Interface
All of the options
To test an API, what tool can I use
API client
API server
API manager
API checker
What are some examples of API clients
Postman
Thunderclient
All of the options
Insomnia
Which one of the following is the best approach for choosing an api endpoint for a list of books
{HttpMethod ResourceName}
GET /book
GET /books
POST /book
POST /books
For filtering and sorting on API endpoints, what can we use?
path param
query params
base path
none of the options
To access resources on an API server, what do we use?
API accessors
API endpoints
API parmas
API methods
Choose the wrong option
200 === ok/success
400 === Too many request
404 === Not found
500 === Server Error
What is the response format from an API server
HTML/CSS
JavaScript
Nodejs scripts
JSON
