- SOA Patterns with BizTalk Server 2013 and Microsoft Azure(Second Edition)
- Richard Seroter Mark Brimble Johann Cooper Colin Dijkgraaf Mahindra Morar
- 183字
- 2021-07-16 13:56:37
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
- Access 數據庫應用教程
- Python神經網絡項目實戰
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(高級進階篇)
- Serverless架構
- Clojure Reactive Programming
- Mastering Akka
- Learning Modular Java Programming
- PHP+MySQL動態網站開發從入門到精通(視頻教學版)
- Qt 4開發實踐
- Python編程快速上手2
- 快樂編程:青少年思維訓練
- Java從入門到精通(視頻實戰版)
- Spring Boot學習指南:構建云原生Java和Kotlin應用程序
- Swift 2 Design Patterns
- Python Django Web從入門到項目實戰(視頻版)