官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 讷河市| 海阳市| 永寿县| 临夏县| 广元市| 北川| 靖边县| 清新县| 珠海市| 沂南县| 延长县| 左贡县| 丽江市| 钟山县| 黔西县| 壤塘县| 本溪| 苍梧县| 吉安县| 新丰县| 泰宁县| 剑川县| 铁岭市| 武城县| 应城市| 洪湖市| 宁蒗| 雷山县| 连山| 嘉祥县| 辉南县| 怀仁县| 于田县| 龙胜| 海淀区| 宣武区| 云梦县| 阿勒泰市| 巨野县| 雷波县| 北流市|