QuestionQ16

701.2 Standard Components and Platforms for Software

Which of the following HTTP requests could originate from communication with a RESTful service?

Choose two
  • A SET /api/clients/1234?name=John%20Doe
  • B GET /api/clients.php?action=delete&client_id=1234
  • C DELETE /api/clients/1234
  • D GET /api.php?cmd=get
  • E GET /api/clients
Explanation

A RESTful HTTP service uses standard HTTP verbs with resource-based paths. DELETE /api/clients/1234 targets a specific client resource for deletion, and GET /api/clients retrieves the clients resource collection.

Community Discussion

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