1
它通过iContact Api完成 - 但我不清楚那部分:发送HTTP请求。发送HTTP请求(验证请求)
我看到了一个例子:
Example HTTP Header
Accept: text/xml Note: Values for this are text/xml or application/json
Content-Type: text/xml Note: Values for this are text/xml or application/json
Api-Version: 2.0
Api-AppId: 4eOFlFJabcdenVoljgPv9av59C54alz4
Api-Username: myusername
API-Password: my_password
我的愚蠢的问题不好意思,这是我第一次尝试API。
任何人都可以借用我的代码来验证https请求吗?
谢谢。
谢谢你的帮助。但它没有发送https请求的示例。我想在开始使用API之前验证请求。 – joe 2011-03-02 02:53:15
@Josephine身份验证使用HTTP标头完成。 util.php文件使用适当的头文件创建请求。您必须编辑config.php文件并设置您的用户名,密码和appId。 – 2011-03-02 17:53:43