REST: Difference between revisions

From Omnia
Jump to navigation Jump to search
(Created page with "== REST == "Representational state transfer (REST) is a style of software architecture for distributed systems such as the World Wide Web. REST has emerged as a predominant web API design model." [http://en.wikipedia.org/wiki/Representational_state_transfer] == Clean URL == "Clean URLs, RESTful URLs, user-friendly URLs or SEO-friendly URLs are purely structural URLs that do not contain a query string [e.g., action=delete&id=91] and instead contain only the path of the...")
 
Line 20: Line 20:
References:
References:
* Clean URL - Wikipedia - http://en.wikipedia.org/wiki/Clean_URL
* Clean URL - Wikipedia - http://en.wikipedia.org/wiki/Clean_URL
== Google API Design Guide ==
https://cloud.google.com/apis/design


== keywords ==
== keywords ==

Revision as of 00:18, 3 July 2024

REST

"Representational state transfer (REST) is a style of software architecture for distributed systems such as the World Wide Web. REST has emerged as a predominant web API design model." [1]

Clean URL

"Clean URLs, RESTful URLs, user-friendly URLs or SEO-friendly URLs are purely structural URLs that do not contain a query string [e.g., action=delete&id=91] and instead contain only the path of the resource (after the scheme [e.g., http] and the authority [e.g., example.org]). This is often done for aesthetic, usability, or search engine optimization (SEO) purposes. Other reasons for designing a clean URL structure for a website or web service include ensuring that individual web resources remain under the same URL for years, which makes the World Wide Web a more stable and useful system, and to make them memorable, logical, easy to type, human-centric, and long-lived."

Examples of "unclean" versus "clean" URLs follow:

Unclean URL Clean URL
http://example.com/index.php?page=foo http://example.com/foo


References:

Google API Design Guide

https://cloud.google.com/apis/design

keywords