电话/微信 : 15201732908 邮箱:727678321@qq.com 网址:www.nowsoho.com.cn
电脑网站.中国域名投资网 Copyright ©2016-2026 shanghai MOMO CORPORATION All Rights Reserved.
curl -H 'Content-Type:text/plain' --data-binary @urls.txt "http://data.zz.baidu.com/urls?site=www.nowsoho.com.cn&token=f8ixxbmS2JxmLNUG" POST /urls?site=www.nowsoho.com.cn&token=f8ixxbmS2JxmLNUG HTTP/1.1 User-Agent: curl/7.12.1 Host: data.zz.baidu.com Content-Type: text/plain Content-Length: 83 $urls = array( 'http://www.example.com/1.html', 'http://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=www.nowsoho.com.cn&token=f8ixxbmS2JxmLNUG'; $ch = curl_init(); $options = array( CURLOPT_URL => $api, CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => implode("\n", $urls), CURLOPT_HTTPHEADER => array('Content-Type: text/plain'), ); curl_setopt_array($ch, $options); $result = curl_exec($ch); echo $result; $urls = array( 'http://www.example.com/1.html', 'http://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=www.nowsoho.com.cn&token=f8ixxbmS2JxmLNUG'; $ch = curl_init(); $options = array( CURLOPT_URL => $api, CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => implode("\n", $urls), CURLOPT_HTTPHEADER => array('Content-Type: text/plain'), ); curl_setopt_array($ch, $options); $result = curl_exec($ch); echo $result; http://data.zz.baidu.com/urls?site=www.nowsoho.com.cn&token=f8ixxbmS2JxmLNUG curl -H 'Content-Type:text/plain' --data-binary @urls.txt "http://data.zz.baidu.com/urls?site=www.nowsoho.com.cn&token=f8ixxbmS2JxmLNUG"
My title page contents