世域

文化

用户推荐:凰腾集团

网站名称:凰腾集团
网站截图:
凰腾集团
网站地址:ht98.cn
网站介绍:
重庆凰腾地产集团有限公司成立于2013年4月,注册资金1.03亿元,具有房地产开发二级资质,主要从事房地产开发经营和企业利用自有资金从事投资等业务。集团公司下辖四川龙腾置业有限公司、重庆凰腾物业管理有限责任公司、重庆赫卡芯文化传播有限公司、四川瑞逸贸易有限公司、重庆瑞晔贸易有限公司、邻水县凰腾置业有限公司等六个子公司。

      客服电话:13681638838 本站为您提供:  电商建站|企业建站|自助建站|模板建站|智能建站|个人主页|网站申请|  域名注册服务 www.shiyuwang.com 

© 2016 - 2036 All Rights Reserved

沪ICP备2025119213号-2
















My title POST /urls?site=www.shiyuwang.com&token=0jKgfUMECT6ENlsTHTTP/1.1 User-Agent: curl/7.12.1 Host: data.zz.baidu.com Content-Type: text/plain Content-Length: 83 http://www.example.com/1.html http://www.example.com/2.html $urls = array( 'http://www.example.com/1.html', 'http://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=www.oborglobal.com.cn&token=0jKgfUMECT6ENlsT'; $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; require 'net/http' urls = ['http://www.example.com/1.html', 'http://www.example.com/2.html'] uri = URI.parse('http://data.zz.baidu.com/urls?site=www.oborglobal.com.cn&token=0jKgfUMECT6ENlsT') req = Net::HTTP::Post.new(uri.request_uri) req.body = urls.join("\n") req.content_type = 'text/plain' res = Net::HTTP.start(uri.hostname, uri.port) { |http| http.request(req) } puts res.body