What is the role of a resource's representation in REST?

  • It defines the resource's data schema
  • It determines the resource's security settings
  • It represents the current state of the resource and controls its interactions
  • It specifies the location of the resource on the server
The representation of a resource in REST encapsulates its current state and governs interactions. This representation can be in various formats like JSON or XML.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *