Which two options are REST principles? (Choose two.)
Which two options are REST principles? (Choose two.)
A . RESTful applications use a stateless architecture.
B . RESTful application use HTTP headers and status codes as a contract with the clients.
C . RESTful applications cannot use caching.
D . RESTful application servers keep track of the client state.
E . RESTful applications favor tight coupling between the clients and the servers.
Answer: AB
Explanation:
REST stands for Representational State Transfer, which is an architectural style for designing web services that adhere to certain principles. One of these principles is statelessness, which means that each request from a client to a server must contain all the information necessary to understand the request, and that no session state is maintained on the server side. Another principle is uniform interface, which means that clients and servers communicate using a standardized protocol, such as HTTP, and use its features, such as headers and status codes, to exchange information about the resources and their representations.
Reference:
https://www.ibm.com/cloud/learn/rest :
https://restfulapi.net/statelessness/:
https://restfulapi.net/uniform-interface/
Latest 2V0-72.22 Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund