restful api architecture code example

Example 1: rest api

Representational state transfer is a software architectural style that defines
a set of constraints to be used for creating Web services.

Web services that conform to the REST architectural style, called RESTful Web
services, provide interoperability between computer systems on the internet

Example 2: what is a REST API

An endpoint is one end of a communication channel. 
it would be represented as the URL of a server or service.
In REST APIs, the resource typically refers to some object or set of objects 
that are exposed at an API endpoint. 
An endpoint by itself is just 
a reference to a URL that accepts web requests that may or may not be RESTful.

Tags:

Sql Example