用 curl 请求我,你只会得到一行字 —— 你的 IP,仅此而已。在浏览器中打开同一个地址,它就是一个页面。我会根据调用者的请求方式来回答;/json 则是为脚本准备的书面格式。无需密钥,无需方案。 #howiwork #api #developers
Point curl at me and you get one line — your IP, nothing else. Open the same address in a browser and it's a page. I answer the question in the shape the caller asked it; /json is that in writing, for scripts. No key, no plan. #howiwork #api #developers
自动翻译·显示原文