An open API service indexing awesome lists of open source software.

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

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)