【发布时间】:2014-10-24 00:30:52
【问题描述】:
我有以下 curl 代码来检查号码是否已激活免打扰。但我不知道如何使用这个。我如何在 php 中实现这一点以获取 json 输出。
CURL 代码:
curl --get --include "https://dndcheck.p.mashape.com/index.php?mobilenos=9999999999%2C8888888888" \
-H "X-Mashape-Key: g5Svg3wHuomshHIyjncC0hetIUVXp1h7E0LjsnJmorZlVxUcQV"
API 和文档的链接: https://www.mashape.com/blaazetech/dnd-check
【问题讨论】:
-
感谢 Mashape 密钥。