- Building RESTful Web Services with PHP 7
- Haafiz Waheed ud din Ahmad
- 74字
- 2021-07-03 00:02:17
Create operation
- HTTP method : POST
- URI: /{resource}
- Parameters: can be multiple parameters in POST body
- Result: This should create a new resource with parameters in the body.
- As you can see, there is no difference in the URI for Create and List but these two operations are distinguished by the HTTP method which results in different operations. In fact, a combination of the HTTP method and URI tells which operation should be performed.
推薦閱讀
- The Complete Rust Programming Reference Guide
- 深入理解Android(卷I)
- 從零構建知識圖譜:技術、方法與案例
- .NET 4.0面向對象編程漫談:基礎篇
- Lua程序設計(第4版)
- Python自然語言處理(微課版)
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- BIM概論及Revit精講
- 計算機應用基礎案例教程
- Getting Started with Python
- Java程序設計實用教程(第2版)
- SQL Server 2008實用教程(第3版)
- Learning Apache Thrift
- ASP.NET Core 2 High Performance(Second Edition)
- HTML5 and CSS3:Building Responsive Websites