https://github.com/nishigaba/know_rest_api
:package: Explaining REST API
https://github.com/nishigaba/know_rest_api
rest-api
Last synced: 5 months ago
JSON representation
:package: Explaining REST API
- Host: GitHub
- URL: https://github.com/nishigaba/know_rest_api
- Owner: NishiGaba
- License: mit
- Created: 2017-07-07T06:23:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T07:18:38.000Z (almost 9 years ago)
- Last Synced: 2025-04-09T14:41:12.678Z (about 1 year ago)
- Topics: rest-api
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Know_REST_API :package:
## Understanding REST
REST (Representational State Transfer) was introduced and defined in 2000 by Roy Fielding in his doctoral dissertation. REST is an architectural style for designing distributed systems. It is not a standard but a set of constraints, such as being stateless, having a client/server relationship, and a uniform interface. REST is not strictly related to HTTP, but it is most commonly associated with it.
## Principles of REST
* Resources expose easily understood directory structure URIs.
* Representations transfer JSON or XML to represent data objects and attributes.
* Messages use HTTP methods explicitly (for example, GET, POST, PUT, and DELETE).
* Stateless interactions store no client context on the server between requests. State dependencies limit and restrict scalability. The client holds session state.
# Reference :
1. [spring.io](https://spring.io/understanding/REST)
2. [diegohaz/rest](https://github.com/diegohaz/rest)
## License
MIT © [Nishi Gaba](https://github.com/NishiGaba)