Certified Ethical Hacker (CEH v12) — Question 27
Gilbert, a web developer, uses a centralized web API to reduce complexity and increase the integrity of updating and changing data. For this purpose, he uses a web service that uses HTTP methods such as PUT, POST, GET, and DELETE and can improve the overall performance, visibility, scalability, reliability, and portability of an application.
What is the type of web-service API mentioned in the above scenario?
Answer options
- A. RESTful API
- B. JSON-RPC
- C. SOAP API
- D. REST API
Correct answer: A
Explanation
The correct answer is A, RESTful API, as it specifically uses HTTP methods and is designed to improve various aspects of application performance and reliability. JSON-RPC and SOAP API do not primarily utilize the mentioned HTTP methods in the same manner, and while REST API is also a correct term, the term RESTful API is more precise in this context.