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 / 2253409437 電郵: 23886700@accessyou.com WhatsAppwhatsapp/LINE/ TELEGRAM +852 98882844, WeChatwechat: 85298882844, Skype: m98882844傳真: (852)81037227, 網址: www.accessyou.com 查詢表格: Online Enquiry Form | 免費試用| 立即購買

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

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

payment-all

echeque