RESTful Services - imag
RESTful Services
Didier DONSEZ Universit? Grenoble Alpes Polytech Grenoble & LIG ERODS
RESTFul Services
Principe Richardson Maturity Model Design Patterns Data Formats Documentation, Validation Frameworks
Swagger, JAX-RS (JavaEE), Springfox ... S?curit?
OAuth2.0
REST = REpresentational State Transfert
Style d'architecture de type client-serveur
3 Levels of Richarson Maturity Model
? Best practices
Consid?re des collections de ressources (maintenant un ?tat intene)
Adressables pour une URI
Accessible via les m?thodes (verb) HTTP (CRUD)
PUT, GET, POST, DELETE, HEAD, OPTION, PATCH Status code (200, 201, 409, ... ), Header (Accept, Location, ...)
Repr?sentation formate? en fonction du client
Formats : XML, HTML (fragment), JSON, JPEG,...
Outils
Caches, Proxies, Load Balancers ...
Exemple de routage Web
Classiquement (Level 1) R?ponse : text/html
GET GET GET POST GET
Avec REST (Level 2) R?ponse : application/json
GET GET POST PUT DELETE
Exercice : comment mod?liser un panier d'un client ? Solution : POST
Mod?le de Maturit? de Richardson
Level 0
? Communication client / serveur via le protocole HTTP ? 1 URL / 1 type de verbe HTTP (en g?n?ral POST)
Level 1: Resources
? Plusieurs URLs hi?rarchis?es
Repr?sente des collections
? toujours 1 seul verbe HTTP (en g?n?ral POST)
Level 2: HTTP Verbs
? Verbes HTTP (GET, POST, PUT, DELETE, OPTION, HEAD, PATCH) ? Status code HTTP
Level 3: Hypermedia Controls
? HATEOAS (Hypertext As The Engine Of Application State) ? URL de navigation dans les ressources
A lire
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- netiq access manager 4 micro focus
- generate pdf from swagger api documentation
- kubernetes resources reference from the openapi
- scaife api definition beta version 0 0 2 for developers
- docker asset tracker codec v1
- odata to openapi mapping version 1 oasis
- writing rest apis with openapi and swagger ada
- mediapulse rest api
- restful services imag
- version 1 release 1
Related searches
- support services worker job description
- management services department circulars
- rushmore financial services inc
- amazon web services revenue
- hyland s restful legs interactions
- hyland s restful legs review
- hyland s restful legs ingredients
- hyland restful legs
- restful legs warnings
- hyland s restful legs side effects
- ingredients in hyland s restful legs
- is hyland s restful legs safe