Why REST services
A REST-based service is best suited for limited bandwidth and resources where you need to process simple Create, Read, Update, Delete (CRUD) type operations using the following verbs:
- GET
- POST
- PUT
- DELETE
Also, REST is a platform and language independent service, which makes it ideal as an integration protocol.
It uses a lightweight protocol such as HTTP to send messages in a simple XML format, or other formats such as JSON or plain text. TCP may also be used, but HTTP is more commonly used.
REST services are totally stateless in operation. This allows greater scalability since the server does not have to maintain the session state. What this essentially means is that the client must include all the information required for the server to fulfill each request.
For a comparison between messaging based on SOAP and REST, please refer to the blog post at http://connectedcircuits.wordpress.com/2013/02/16/what-to-use-soap-or-rest/.
A RESTful API should adhere to the following specifications:
- Honor HTTP request verbs
- Use of proper HTTP status code
- No version numbers in the URIs
- Response message format defined in the HTTP Accept header
- Bootstrap Site Blueprints Volume II
- Learning Cython Programming
- C語言程序設計基礎與實驗指導
- C語言程序設計教程(第2版)
- Java加密與解密的藝術
- PLC編程及應用實戰
- Learning Python by Building Games
- Jupyter數據科學實戰
- Scala Reactive Programming
- 移動互聯網軟件開發實驗指導
- Unity 3D腳本編程:使用C#語言開發跨平臺游戲
- 從零開始學Selenium自動化測試:基于Python:視頻教學版
- Learning RSLogix 5000 Programming
- Building Web Applications with Flask
- vSphere High Performance Cookbook(Second Edition)