iteye聊天儿api使用范例
iteye闲聊api使用范例
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://api.iteye.com/api/twitters/create"); curl_setopt($ch, CURLOPT_USERPWD, "username:passwd"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, 'body=test2'); curl_exec($ch); curl_close($ch); ?>