PDF 打印 E-mail

1. PHP

pls read our api doc

2. ASP/ASP.NET

pls read our api doc

3. JAVA

http://stackoverflow.com/questions/1485708/how-do-i-do-a-http-get-in-java

import java.io.*;
import java.net.*;

public class c {

public static String getHTML(String urlToRead) throws Exception {
StringBuilder result = new StringBuilder();
URL url = new URL(urlToRead);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;
while ((line = rd.readLine()) != null) {
result.append(line);
}
rd.close();
return result.toString();
}

public static void main(String[] args) throws Exception
{
System.out.println(getHTML(args[0]));
}
}

 

【24小时】 香港: (852)23886700, 中國: (86)13229966221 QQ: 13229966221 電郵: 23886700@accessyou.com SMS/WhatsAppwhatsapp/LINE/ telegram: +852 98882844, WeChatwechat: 85298882844, 傳真: (852)81037227, 网址: www.accessyou.com 查詢表格: Online Enquiry Form | 免费试用| 立即购买

公司名:先進網絡有限公司

總公司: 香港金鐘力寶中心第二座2208

支援中心: 葵涌梨木道79号亞洲貿易中心1118室

payment-all

echeque