REST

From Omnia
Jump to navigation Jump to search

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