
REST
www.phayoune.org
Ref:
http://searchmicroservices.techtarget.com/definition/RESTful-API
https://restfulapi.net/
Menu
REST is acronym for REpresentational State Transfer
- an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data.
- The REST used by browsers can be thought of as the language of the internet
- RESTful API breaks down a transaction to create a series of small modules. Each module addresses a particular underlying part of the transaction.
- The first presented by Roy Fielding in 2000
RESTful API return json
curl -v -H “Accept: application/json” -X GET “http://rf.phayoune.org/api/v1/idcard+xxxx+1759900415555”
REST send data to Google Sheet
curl -v -X GET “http://rf.phayoune.org/api/v1/Google001+xxxx+1759900415555”