- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 129字
- 2021-07-02 20:52:24
An API example
I have used the GitHub API to show the basic HTTP methods. You can sign up to GitHub and get an authentication token if you wish to explore the API. In the next chapter, we will create our own API. In these examples, we act as a consumer of an API. In these examples, I am using Fiddler to make the request. You can use any tool you like; other commonly used tools are Postman, which is built into the Chrome browser or Advanced Rest Client. Idempotent is a term used for REST APIs; simply put, when you call a method, it will return the same data no matter how many times you call it. In the following examples, I will list which methods are idempotent.
推薦閱讀
- 演進式架構(原書第2版)
- JBoss Weld CDI for Java Platform
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- Java面向對象思想與程序設計
- 算法精粹:經典計算機科學問題的Java實現
- Building Cross-Platform Desktop Applications with Electron
- YARN Essentials
- Magento 1.8 Development Cookbook
- Mastering RStudio:Develop,Communicate,and Collaborate with R
- 大學計算機基礎(第2版)(微課版)
- 區塊鏈技術與應用
- Visual Basic程序設計上機實驗教程
- Test-Driven Machine Learning
- Test-Driven JavaScript Development
- Building Serverless Web Applications