What is a characteristic of the REST API?
- considered slow, complex, and rigid
- used for exchanging XML structured information over HTTP or SMTP
- evolved into what became SOAP
- most widely used API for web services
Explanation & Hint:
Most widely used API for web services REST (Representational State Transfer) API is a set of architectural principles that uses the HTTP protocol’s existing features to interact with resources. It is known for being fast, lightweight, and flexible. RESTful APIs use standard HTTP methods like GET, POST, PUT, DELETE, etc., and can handle multiple types of calls, return different data formats, and even change structurally with the correct implementation of hypermedia. This has led to its widespread adoption for web services.
|