QuestionQ30

Rest API

Which two statements are correct about the REST API?

Choose two
  • A It is considered to be stateful.
  • B It uses TFTP for transport.
  • C It is considered to be stateless,
  • D It uses HTTP for transport.
Explanation

REST APIs are built around HTTP as the transport protocol, using standard HTTP methods (GET, POST, PUT, DELETE) to interact with resources identified by URIs. A core architectural constraint of REST is statelessness: each client request must contain all the information the server needs to process it, and the server does not retain session state between requests. This is in contrast to stateful protocols, and TFTP (Trivial File Transfer Protocol) is unrelated to REST, as it is used for simple file transfers, not API communication.

Community Discussion

No comments yet. Be the first to start the discussion!