From df06a23a2fb6aec7d90d810f6546bf7ad1f97947 Mon Sep 17 00:00:00 2001 From: kodeart Date: Thu, 22 Feb 2024 22:32:40 +0100 Subject: [PATCH] - chore: tabs --- docs/index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/index.md b/docs/index.md index 3cc7941..8d2b573 100644 --- a/docs/index.md +++ b/docs/index.md @@ -42,20 +42,20 @@ because it is aligned nicely with the HTTP ReST concepts. After all, web apps needs fundamental directions and principles, not "perfect" solutions so RMR fits here very well. -=== "Resource" - +=== "Resource" + An **object** in the RESTful system identified by a URL that exposes methods that corresponds to the standard HTTP methods (GET, POST, PUT, etc) i.e. a business object (entity). -=== "Method" - +=== "Method" + The **HTTP request method** that corresponds a **Resource** method that is executed by the request/URL, which returns a **Representation** for that resource. -=== "Representation" - +=== "Representation" + Provides a **Resource** to clients in a readable format (JSON, XML, PDF, HTML, etc). It is the payload of the response object (processed by the HTTP **Method** that is sent back to the client).