- 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.
- Vue.js 3.x從入門到精通(視頻教學版)
- R語言數據可視化實戰
- Responsive Web Design by Example
- Getting Started with LLVM Core Libraries
- C語言程序設計實驗指導 (第2版)
- C語言開發基礎教程(Dev-C++)(第2版)
- Getting Started with Eclipse Juno
- OpenCV with Python By Example
- 移動增值應用開發技術導論
- 深入理解BootLoader
- STM8實戰
- 深入淺出 HTTPS:從原理到實戰
- Java程序設計教程
- Building a Media Center with Raspberry Pi
- C#程序設計基礎與實踐