- Building RESTful Web Services with PHP 7
- Haafiz Waheed ud din Ahmad
- 247字
- 2021-07-03 00:02:14
RESTful Web Services, Introduction and Motivation
RESTful web services are being used widely nowadays. RESTful is simple and most widely used among other web services. In fact, its simplicity is a reason for its fame as well. If you are reading this book, then chances are that you know something about RESTful web services. You probably have used it or you have just heard of it. But even if you don't know much about RESTful web services, don't worry as we are first defining it right here. So first, let's list the high level topics that we will be covering in this chapter:
- Web services, what is a web service?
- REST architecture (constraints of REST)
- RESTful web services
-
Conventions of RESTful web services
- HTTP verbs (methods)
- Why RESTful web services?
- Response type and response codes
-
Case study - RESTful web service endpoints for a blog
However, there are a lot of misconceptions about RESTful web services. For example, some people think that anything over the web returning JSON is a RESTful web service and RESTful web services only return JSON. This is not true.
In fact, RESTful web services support multiple formats and not everything returning JSON is a RESTful web service. To avoid confusion, let us understand what RESTful web service is.
A web service based on the REST architecture is a RESTful web service. So, what exactly is a web service and REST architecture? Let's start by understanding web service first and then the REST architecture.
- Kibana Essentials
- Developing Mobile Web ArcGIS Applications
- Python自動(dòng)化運(yùn)維快速入門
- 精通搜索分析
- C#程序設(shè)計(jì)教程
- HTML5從入門到精通 (第2版)
- 區(qū)塊鏈架構(gòu)之美:從比特幣、以太坊、超級(jí)賬本看區(qū)塊鏈架構(gòu)設(shè)計(jì)
- Scala Functional Programming Patterns
- Python+Office:輕松實(shí)現(xiàn)Python辦公自動(dòng)化
- Penetration Testing with the Bash shell
- HTML5移動(dòng)Web開發(fā)
- 超好玩的Scratch 3.5少兒編程
- Python第三方庫(kù)開發(fā)應(yīng)用實(shí)戰(zhàn)
- Python 快速入門(第3版)
- Google Adsense優(yōu)化實(shí)戰(zhàn)