- 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.
- 從零開(kāi)始構(gòu)建企業(yè)級(jí)RAG系統(tǒng)
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- The Modern C++ Challenge
- 自制編譯器
- Interactive Data Visualization with Python
- 數(shù)據(jù)結(jié)構(gòu)(Java語(yǔ)言描述)
- Magento 2 Development Cookbook
- Amazon S3 Cookbook
- 3D少兒游戲編程(原書(shū)第2版)
- NetBeans IDE 8 Cookbook
- OpenCV 4計(jì)算機(jī)視覺(jué)項(xiàng)目實(shí)戰(zhàn)(原書(shū)第2版)
- 大話Java:程序設(shè)計(jì)從入門(mén)到精通
- SQL Server 2016 從入門(mén)到實(shí)戰(zhàn)(視頻教學(xué)版)
- OpenCV 3 Blueprints
- Python計(jì)算機(jī)視覺(jué)和自然語(yǔ)言處理