✏️ Explanatory Question

How do RESTful APIs interact with resources?

👁 70 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

RESTful APIs use standard HTTP methods to interact with resources:

  • GET → Retrieve a resource
  • POST → Create a new resource
  • PUT → Update an existing resource
  • DELETE → Remove a resource

A resource can be an object, file, or a database table row.