- Building RESTful Web Services with PHP 7
- Haafiz Waheed ud din Ahmad
- 288字
- 2021-07-03 00:02:19
Case study - RESTful web service endpoints for a blog
To understand RESTful web services, let's consider the case study of a blog where we will discuss resources/entities in a blog. We will start to define the requirements and endpoints URLs for the blog's resources and then define responses that we should have against those requests. So these endpoints and response definitions will help us understand how RESTful web services endpoint should look like and what the response should be. In the later chapters, we will talk more about the implementation of these endpoints, so these definitions will act as an API document for the next chapters. However, for simplicity, we will keep it minimal for now and later add more attributes to it.
In a typical blog, the most common resources are posts and comments. There are others as well but for now, we will discuss these two resources for the sake of understanding RESTful web services. Note that we are not considering authentication related stuff but will look into that in the later chapters.
- Learning Cython Programming
- Java游戲服務器架構實戰(zhàn)
- 精通軟件性能測試與LoadRunner實戰(zhàn)(第2版)
- ArcGIS By Example
- Scientific Computing with Scala
- Android系統(tǒng)級深入開發(fā)
- Node Cookbook(Second Edition)
- 零基礎學C語言第2版
- Fast Data Processing with Spark(Second Edition)
- Node學習指南(第2版)
- PHP+MySQL動態(tài)網(wǎng)站開發(fā)從入門到精通(視頻教學版)
- OpenCV Android開發(fā)實戰(zhàn)
- Visual C++開發(fā)寶典
- C語言程序設計教程
- Mastering Magento Theme Design