REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a stateless, client-server, cacheable communications protocol -- and in virtually all cases, the HTTP protocol is used. REST is an architecture style for designing networked applications.
is designed to take advantage of existing protocols. While REST can be used over nearly any protocol, it usually takes advantage of HTTP when used for Web APIs. ... REST API Design was defined by Dr. Roy Fielding in his 2000 doctorate dissertation .
is a unique sequence of characters that identifies a logical or physical resource used by web technologies.
Resources whose location, grade, quality, and quantity are known or estimated from specific geologic evidence. Identified resources include economic, marginally economic, and subeconomic components.
comprise a major portion of our “uniform interface” constraint and provide us the action counterpart to the noun-based resource. The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE. These correspond to create, read, update, and delete (or CRUD) operations, respectively. There are a number of other verbs, too, but are utilized less frequently. Of those less-frequent methods, OPTIONS and HEAD are used more often than others.
URIs should be based on nouns (the resource)
URI-based standards such as Resource Description Framework make evident, resource identification need not suggest the retrieval of resource representations over the Internet, nor need they imply network-based resources at all.
https://adventure-works.com/orders
https://canvas.instructure.com/courses
- return simplified information and use - more fine-grained operations.
- require more calls
returns HTTP status code 200 (OK).
return 404 (Not Found)
returns HTTP status code 201 (Created)
returns HTTP status code 204
Email: ibrahem.omari96@gmail.com


