In RESTful APIs, ___________ is used to represent the state of a resource.
- JSON
- XML
- HTML
- URI
The correct option is URI. In RESTful APIs, Uniform Resource Identifiers (URIs) are used to uniquely identify and represent resources. URIs play a crucial role in REST architecture by providing a way to interact with resources via HTTP methods such as GET, POST, PUT, and DELETE.
Loading...
Related Quiz
- Explain the concept of closure in JavaScript.
- In a network with multiple switches interconnected, how would you troubleshoot network connectivity issues between two endpoints?
- What is the difference between deadlock prevention and deadlock avoidance?
- Dynamic programming can be categorized into two main types: ___________ and ___________.
- Imagine you're working on a healthcare system where patient records are critical. How would you implement data storage and retrieval mechanisms to ensure atomicity and durability while adhering to ACID properties?