one marks

  1. Containers are lightweight, portable, and self-sufficient units that package applications and their dependencies, allowing them to run consistently across different computing environments.
  2. Common methods used in REST APIs include GET, POST, PUT, PATCH, DELETE.
  3. A resource in a RESTful API can be any entity or object, such as users, orders, or products.
  4. In REST, resources are typically identified by URIs (Uniform Resource Identifiers).
  5. GET HTTP method is commonly used to retrieve a resource.
  6. A parent-child relationship exists between /users/123/orders and /users/123.
  7. Example of an API endpoint: https://api.example.com/v1/users/123.
  8. Two advantages of SOA (Service-Oriented Architecture):
  9. In a URL like GET /users?age=25, age is a query parameter.
  10. PUT HTTP method is idempotent and used to update a resource.
  11. The WebSocket API allows real-time bidirectional communication between the client and the server.
  12. The REST architectural pattern follows the principle where each resource has its own URL and is accessed using HTTP.

2MArks

  1. What are the three common types of parameters in an API request?

  2. How do path parameters differ from query parameters in an API request?

  3. Differentiate between REST API and GraphQL API.

  4. Describe the features of WebSocket.

  5. What is the primary advantage of SOAP APIs over REST?